From 03b0a5d4fb4d1497b38d4a6e18584721e9cb00b9 Mon Sep 17 00:00:00 2001 From: Callan Bryant Date: Tue, 3 Mar 2020 23:37:58 +0000 Subject: [PATCH] add comments on what statuses mean --- reporttypes.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reporttypes.go b/reporttypes.go index 025207e..f6a5d3d 100644 --- a/reporttypes.go +++ b/reporttypes.go @@ -8,9 +8,13 @@ import ( type Status int const ( + // Host has not been loaded into wireguard yet Pending = iota + // Host has not transferred anything (not even a keepalive) for 30 seconds Offline + // Host has transferred something in the last 30 seconds, keepalive counts Online + // Host has not connected for 28 days and may be removed Expired )