switch to status
This commit is contained in:
parent
c1c4cccce2
commit
909e6ed264
@ -61,10 +61,7 @@ type PeerReport struct {
|
|||||||
Description string
|
Description string
|
||||||
// Internal VPN IP address. Added to AllowedIPs in server config as a /32
|
// Internal VPN IP address. Added to AllowedIPs in server config as a /32
|
||||||
IP net.IP
|
IP net.IP
|
||||||
// whether last heartbeat/rxdata was received (50% margin)
|
Status Status
|
||||||
Online bool
|
|
||||||
// if no data for x days, consider revoking access
|
|
||||||
Expired bool
|
|
||||||
// TODO ExternalIP support (Endpoint)
|
// TODO ExternalIP support (Endpoint)
|
||||||
//ExternalIP net.UDPAddr `validate:"required,udp4_addr"`
|
//ExternalIP net.UDPAddr `validate:"required,udp4_addr"`
|
||||||
// TODO support routing additional networks (AllowedIPs)
|
// TODO support routing additional networks (AllowedIPs)
|
||||||
|
Loading…
Reference in New Issue
Block a user