Update - modify hub to support multiple networks. (#4)
Co-authored-by: jdl <jdl@desktop> Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
10
m/models.go
10
m/models.go
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user