From 909e6ed2647974e477901807ea3012e8fde9af76 Mon Sep 17 00:00:00 2001 From: Callan Bryant Date: Tue, 3 Mar 2020 23:43:55 +0000 Subject: [PATCH] switch to status --- reporttypes.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/reporttypes.go b/reporttypes.go index 3e2772e..20b5b69 100644 --- a/reporttypes.go +++ b/reporttypes.go @@ -61,10 +61,7 @@ type PeerReport struct { Description string // Internal VPN IP address. Added to AllowedIPs in server config as a /32 IP net.IP - // whether last heartbeat/rxdata was received (50% margin) - Online bool - // if no data for x days, consider revoking access - Expired bool + Status Status // TODO ExternalIP support (Endpoint) //ExternalIP net.UDPAddr `validate:"required,udp4_addr"` // TODO support routing additional networks (AllowedIPs)