Commit graph

30 commits

Author SHA1 Message Date
Jonathan Barrow
dfbab77c47
Removed unnecessary nil checks for v0 packet payloads 2023-01-01 14:02:27 -05:00
Jonathan Barrow
655d59f4ae Added plogger logging 2022-04-15 16:51:05 -04:00
Jonathan Barrow
0f54daac27 Removed unused code found only in the original Rendez-Vous library 2022-04-10 16:07:00 -04:00
Jonathan Barrow
8be2d8bca2 Moved all source files back to root 2022-03-29 00:15:55 -04:00
Jonathan Barrow
a2d673a235 Moving to Go modules 2022-03-27 19:59:17 -04:00
Jonathan Barrow
6aaec63fa8 Updated RMCRequest to be more dynamic 2021-10-30 00:07:46 -04:00
Jonathan Barrow
186a048e25 Changed CONN packet connection sig 2021-08-22 18:31:28 -04:00
SuperMarioDaBom
f997319f56 Add normal V0 packet signature handling.
Note that this has been tested, but not incredibly thoroughly.
2020-04-23 13:01:45 -07:00
Jonathan Barrow
f78cd960d8 Changed getters to be more Go-like
Removed "Get" prefix from getters to conform to effective Go standards
2020-04-19 21:40:04 -04:00
Jonathan Barrow
db9e11b15c fixed type issues and extra Grow call
Fixed some typing issues and removed an extra Grow call which broke packet encoding
2020-02-16 18:30:10 -05:00
Jonathan Barrow
1d690de84d New StreamOut API
StreamOut now has an abstraction layer to clean up some method calls from crunch
2020-02-16 17:42:03 -05:00
Jonathan Barrow
667f4a07e9 New StreamIn API
StreamIn now has an abstraction layer to clean up some method calls from crunch
2020-02-16 17:18:17 -05:00
Jonathan Barrow
14a29f1b5c Added missing export comments 2020-02-16 16:59:47 -05:00
Jonathan Barrow
17208659c4 Error handling and data validation
Now validates data before passing it to crunch in order to avoid buffer read/write out of bounds panics. This API update is breaking and all code using it will need to be updated
2020-01-31 02:50:23 -05:00
Jonathan Barrow
8ab25b0f16 new stream implementation and Structure type handling
Split the Stream struct into 2 separate stream types for clearer intent. Also now pass them a reference to the server pointer to access server config (namely the NEX minor version)

Structure NEX types are now being implemented (a push to nex-protocols-go will follow shortly). However the implementation is pretty jank and could use some work. Currently uses emulated inheritance
2020-01-26 21:38:33 -05:00
Jonathan Barrow
8e489e4165 Complete rewrite 2020-01-17 12:42:59 -05:00
Adele Reed
6d516d160d Replace used bytes.Buffers with crunch buffers 2019-08-11 22:21:10 -07:00
Adele Reed
d8f080807a Refactor packet_v0 to use crunch instead of streams 2019-08-11 15:42:39 -07:00
SuperMarioDaBom
547d4ed6a5 made some adjustments; can't guarentee this'll work as intended though 2019-05-26 15:31:27 -07:00
Ezekiel Bethel
7b200b9e16 syntax + comment fixes 2019-01-15 22:21:28 +00:00
Ezekiel Bethel
dfa28c0be0 Fix RMC sizes being off by 4, fix acks missing their signatures. 2019-01-15 21:53:13 +00:00
RedDuckss
4817764086 Made RMC requests stream based 2018-10-08 20:05:29 -04:00
RedDuckss
ffb2e1fb5d Made v0 stream-based like v1 2018-10-02 18:01:03 -04:00
RedDuckss
a8e90ad38b Some small code clean up 2018-10-02 17:18:54 -04:00
RedDuckss
24ee0aad2b Basic v1 implementation (still kinda broken) 2018-10-02 17:02:36 -04:00
RedDuckss
686a59737c Properly send fragmented packets + godoc comments
Server now properly splits the packet payload into multiple fragments if needed.

Server settings now properly get defaults.

Added the basis for compression support, though it doesn't do anything right now.

Removed unused NEX type structs.

And finally, fixed all godoc and other linting issues.
2018-09-26 21:42:48 -04:00
RedDuckss
c19f0e7dda It work now 2018-09-18 22:05:12 -04:00
RedDuckss
d0138036ed RMC fixes and README updated 2018-09-18 19:22:25 -04:00
RedDuckss
71a1387f0e RC4 and session ID fixes 2018-09-18 18:50:11 -04:00
RedDuckss
2f60727e4e restructure and, rewrite. Things do things now 2018-09-18 00:25:31 -04:00