mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 14:57:49 +00:00
tailcfg: add a per-peer KeepAlive field
This commit is contained in:
parent
ea0836dce9
commit
7a57ab1793
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user