mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-21 18:42:36 +00:00
tailcfg: add latitude, longitude for node location (#11162)
Updates tailscale/corp#17590 Signed-off-by: Claire Wang <claire@tailscale.com>
This commit is contained in:
@@ -92,6 +92,10 @@ type DERPRegion struct {
|
||||
// "San Francisco", "Singapore", "Frankfurt", etc.
|
||||
RegionName string
|
||||
|
||||
// Latitude, Longitude are optional geographical coordinates of the DERP region's city, in degrees.
|
||||
Latitude float64 `json:",omitempty"`
|
||||
Longitude float64 `json:",omitempty"`
|
||||
|
||||
// Avoid is whether the client should avoid picking this as its home
|
||||
// region. The region should only be used if a peer is there.
|
||||
// Clients already using this region as their home should migrate
|
||||
|
Reference in New Issue
Block a user