tailcfg: add a per-peer KeepAlive field

crawshaw/derp-nokeepalives
David Crawshaw 5 years ago
parent ea0836dce9
commit 7a57ab1793

@ -134,6 +134,8 @@ type Node struct {
Created time.Time Created time.Time
LastSeen *time.Time `json:",omitempty"` LastSeen *time.Time `json:",omitempty"`
KeepAlive bool // open and keep open a connection to this peer
MachineAuthorized bool // TODO(crawshaw): replace with MachineStatus MachineAuthorized bool // TODO(crawshaw): replace with MachineStatus
// NOTE: any new fields containing pointers in this type // NOTE: any new fields containing pointers in this type

Loading…
Cancel
Save