Commit graph

22 commits

Author SHA1 Message Date
Jonathan Barrow
35414b9219 Added better DataHolder type handling 2022-05-09 10:21:30 -04:00
Jonathan Barrow
33304ea96a NullData is actually supposed to be named Data 2022-04-18 22:57:33 -04:00
Jonathan Barrow
9562cf2b1f Extended Result type to be more useful 2022-04-15 10:05:30 -04:00
Jonathan Barrow
377984b796 StationURL SetPid to SetPID 2022-04-05 11:52:12 -04:00
Jonathan Barrow
805bbc4f44 Fixed StationURL build error 2022-04-04 08:59:37 -04:00
Jonathan Barrow
10e65f7273 updated StationURL to not use string pointers 2022-04-03 10:01:24 -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
3b4aeefc36 Added DataHolder type 2021-10-30 00:07:57 -04:00
Jonathan Barrow
07d6e7d12e Updated DateTime 2021-10-28 09:07:19 -04:00
Jonathan Barrow
a32b6bbebb Added Result type 2021-09-05 08:28:55 -04:00
Jonathan Barrow
318e881bf3 Added ResultRange type 2021-08-22 18:29:09 -04:00
SuperMarioDaBom
40f1e3a170 Added missing getters and setters for the StationURL struct. 2020-04-28 11:53:06 -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
9498401f0f Added Value method to DateTime
Added a method to DateTime to get the stored value
2020-03-17 21:44:39 -04: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
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
70daceae50 updated structures to take in StreamOut in Bytes
Structure.Bytes() now requires an instance of StreamOut. This is so any Structures who contain properties which are also Structures can be passed the same stream during their encoding process and retain the stream content/settings
2020-01-27 15:10:44 -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
7713999b7a removed debug field and added missing godoc comments 2020-01-17 12:57:30 -05:00
Jonathan Barrow
8e489e4165 Complete rewrite 2020-01-17 12:42:59 -05:00