tailcfg: add a per-peer KeepAlive field

pull/96/head
David Crawshaw 2020-03-14 10:56:52 -05:00
parent ea0836dce9
commit 7a57ab1793
1 changed files with 2 additions and 0 deletions

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