WIP: DNS
This commit is contained in:
15
m/models.go
15
m/models.go
@@ -13,17 +13,18 @@ type PeerInitResp struct {
|
||||
}
|
||||
|
||||
type Peer struct {
|
||||
PeerIP byte
|
||||
Version int64
|
||||
Name string
|
||||
Addr4 []byte
|
||||
Addr6 []byte
|
||||
Port uint16
|
||||
PeerIP byte
|
||||
Version int64
|
||||
Name string
|
||||
Addr4 []byte
|
||||
Addr6 []byte
|
||||
Port uint16
|
||||
Relay bool
|
||||
WGPubKey []byte
|
||||
SignPubKey []byte
|
||||
}
|
||||
|
||||
type NetworkState struct {
|
||||
Peers [256]*Peer
|
||||
LocalDomain string
|
||||
Peers [256]*Peer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user