|
|
@ -629,6 +629,7 @@ const (
|
|
|
|
PeerAPI4 = ServiceProto("peerapi4")
|
|
|
|
PeerAPI4 = ServiceProto("peerapi4")
|
|
|
|
PeerAPI6 = ServiceProto("peerapi6")
|
|
|
|
PeerAPI6 = ServiceProto("peerapi6")
|
|
|
|
PeerAPIDNS = ServiceProto("peerapi-dns-proxy")
|
|
|
|
PeerAPIDNS = ServiceProto("peerapi-dns-proxy")
|
|
|
|
|
|
|
|
// Deprecated: use the field on HostInfo instead.
|
|
|
|
AppConnector = ServiceProto("app-connector")
|
|
|
|
AppConnector = ServiceProto("app-connector")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@ -650,9 +651,9 @@ type Service struct {
|
|
|
|
// being a DNS proxy (when the node is an exit
|
|
|
|
// being a DNS proxy (when the node is an exit
|
|
|
|
// node). For this service, the Port number is really
|
|
|
|
// node). For this service, the Port number is really
|
|
|
|
// the version number of the service.
|
|
|
|
// the version number of the service.
|
|
|
|
// * "app-connector": the local app-connector service is
|
|
|
|
// * "app-connector": (deprecated) the local app-connector
|
|
|
|
// available. For this service, the Port number is
|
|
|
|
// service is available. For this service, the Port number
|
|
|
|
// really the version number of the service.
|
|
|
|
// is really the version number of the service.
|
|
|
|
Proto ServiceProto
|
|
|
|
Proto ServiceProto
|
|
|
|
|
|
|
|
|
|
|
|
// Port is the port number.
|
|
|
|
// Port is the port number.
|
|
|
@ -748,6 +749,7 @@ type Hostinfo struct {
|
|
|
|
Cloud string `json:",omitempty"`
|
|
|
|
Cloud string `json:",omitempty"`
|
|
|
|
Userspace opt.Bool `json:",omitempty"` // if the client is running in userspace (netstack) mode
|
|
|
|
Userspace opt.Bool `json:",omitempty"` // if the client is running in userspace (netstack) mode
|
|
|
|
UserspaceRouter opt.Bool `json:",omitempty"` // if the client's subnet router is running in userspace (netstack) mode
|
|
|
|
UserspaceRouter opt.Bool `json:",omitempty"` // if the client's subnet router is running in userspace (netstack) mode
|
|
|
|
|
|
|
|
AppConnector opt.Bool `json:",omitempty"` // if the client is running the app-connector service
|
|
|
|
|
|
|
|
|
|
|
|
// Location represents geographical location data about a
|
|
|
|
// Location represents geographical location data about a
|
|
|
|
// Tailscale host. Location is optional and only set if
|
|
|
|
// Tailscale host. Location is optional and only set if
|
|
|
|