Commit Graph

59 Commits

Author SHA1 Message Date
741f1efc46 Add connection message type 2025-04-06 13:08:09 -04:00
0c0a678811 Remove tests 2025-04-06 13:08:09 -04:00
c391b4da55 Working with nice union
This let's us easily use a single type for all Saprus messages, and unwrap the specific type with a switch.
2025-04-06 13:08:09 -04:00
0eda295e0c it works! 2025-04-06 13:08:09 -04:00
3e265aeadb Getting some data but malformed
This is what the data shows up in the sentinal looking like:

2025/04/02 22:36:32 Error decoding message: Hello darkness my old friend::48656c6c6f206461726b6e657373206d79206f6c6420667269656e64aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2025/04/02 22:36:32 INFO: Relay message received: Hello darkness my old friend
2025-04-06 13:08:09 -04:00
3b5c8e397e Add msgs with toBytes functions 2025-04-06 13:08:09 -04:00
a0bea9311f Added network dep 2025-04-06 13:08:09 -04:00
ffcade6088 Remove lib 2025-04-06 13:08:08 -04:00
c9b37c250c Initial commit 2025-04-06 13:08:08 -04:00