add comments on what statuses mean
This commit is contained in:
parent
d8bfa083d2
commit
03b0a5d4fb
@ -8,9 +8,13 @@ import (
|
|||||||
type Status int
|
type Status int
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
// Host has not been loaded into wireguard yet
|
||||||
Pending = iota
|
Pending = iota
|
||||||
|
// Host has not transferred anything (not even a keepalive) for 30 seconds
|
||||||
Offline
|
Offline
|
||||||
|
// Host has transferred something in the last 30 seconds, keepalive counts
|
||||||
Online
|
Online
|
||||||
|
// Host has not connected for 28 days and may be removed
|
||||||
Expired
|
Expired
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user