gopenfusion/internal/protocol
CPunch f4b17906ce more protocol/service refactor
- removed protocol.Event: CNPeers now send protocol.PacketEvents
- peer uData is held in CNPeer, use SetUserData() and UserData() to
set/read it
- Service.PacketHandler calback has changed, removed uData:
switched calls to peer.SetUserData() and peer.UserData() where appropriate
- service.Service lots of tidying up, removed dependence on old
protocol.Event.
- service.Service && protocol.CNPeer now accept a cancelable context.
hooray graceful shutdowns and unit tests!
- general cleanup
2023-12-01 00:56:34 -06:00
..
cnpeer.go more protocol/service refactor 2023-12-01 00:56:34 -06:00
encrypt.go minor styling fix 2023-11-25 23:15:47 -06:00
packet.go start packet_test.go; minor packet.go refactoring 2023-11-22 18:18:22 -06:00
pool.go holy refactor 2023-11-27 21:23:28 -06:00
protocol_test.go protocol_test: split TestPacketEncodeDecode 2023-11-26 16:58:33 -06:00
structs.go fix formatting 2023-09-18 21:09:20 -05:00