mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-28 03:07:35 +00:00
tailcfg: add longitude, latitude to Location
This commit is contained in:
parent
4d668416b8
commit
5db0a07d88
@ -688,6 +688,8 @@ type Location struct {
|
|||||||
// A value of 0 means the exit node does not have a priority
|
// A value of 0 means the exit node does not have a priority
|
||||||
// preference. A negative int is not allowed.
|
// preference. A negative int is not allowed.
|
||||||
Priority int `json:",omitempty"`
|
Priority int `json:",omitempty"`
|
||||||
|
Longitude float64 `json:",omitempty"`
|
||||||
|
Latitude float64 `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hostinfo contains a summary of a Tailscale host.
|
// Hostinfo contains a summary of a Tailscale host.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user