Commit Graph

10 Commits

Author SHA1 Message Date
6a6c3c8519 Base64 encode relay message
write the packed connection struct directly instead of each of the fields.
2025-04-02 23:43:35 -04:00
fc06420746 Add connection message type 2025-04-02 23:26:57 -04:00
62e6fbbff6 Remove tests 2025-04-02 23:00:25 -04:00
e07de8564c 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-02 22:59:18 -04:00
6a9a57a690 it works! 2025-04-02 22:05:10 -04:00
ab8792efce 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-02 18:36:45 -04:00
7b7c466690 Add msgs with toBytes functions 2025-04-02 18:09:24 -04:00
18763983e2 Added network dep 2025-04-02 18:08:22 -04:00
3354a85c1a Remove lib 2025-04-02 18:08:22 -04:00
6cecaecf39 Initial commit 2025-04-02 17:26:16 -04:00