This commit is contained in:
jdl
2025-04-06 07:51:47 +02:00
parent 03b1bbcbcf
commit d558ebbd14
38 changed files with 773 additions and 455 deletions

View File

@@ -6,12 +6,10 @@ type PeerInitArgs struct {
PubSignKey []byte
}
type PeerConfig struct {
PeerIP byte
Network []byte
PublicIP []byte
Port uint16
Relay bool
type PeerInitResp struct {
PeerIP byte
Network []byte
NetworkState NetworkState
}
type Peer struct {