WIP
This commit is contained in:
20
m/models.go
20
m/models.go
@@ -2,8 +2,7 @@
|
||||
package m
|
||||
|
||||
type PeerInitArgs struct {
|
||||
EncPubKey []byte
|
||||
PubSignKey []byte
|
||||
WGPubKey []byte
|
||||
}
|
||||
|
||||
type PeerInitResp struct {
|
||||
@@ -13,14 +12,15 @@ type PeerInitResp struct {
|
||||
}
|
||||
|
||||
type Peer struct {
|
||||
PeerIP byte
|
||||
Version int64
|
||||
Name string
|
||||
PublicIP []byte
|
||||
Port uint16
|
||||
Relay bool
|
||||
PubKey []byte
|
||||
PubSignKey []byte
|
||||
PeerIP byte
|
||||
Version int64
|
||||
Name string
|
||||
PublicIP1 []byte
|
||||
Port1 uint16
|
||||
PublicIP2 []byte
|
||||
Port2 uint16
|
||||
Relay bool
|
||||
WGPubKey []byte
|
||||
}
|
||||
|
||||
type NetworkState struct {
|
||||
|
||||
Reference in New Issue
Block a user