tailcfg: add a per-peer KeepAlive field

This commit is contained in:
David Crawshaw 2020-03-14 10:56:52 -05:00
parent ea0836dce9
commit 7a57ab1793

View File

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