Documentation ¶
Overview ¶
Package derpmap provides the tailscale derp map implementation.
Index ¶
Constants ¶
View Source
const TailscaleDERPMapURL = "https://controlplane.tailscale.com/derpmap/default"
Variables ¶
View Source
var DefaultDERPMap tailcfg.DERPMap
DefaultDERPMap is the default Tailscale DERP map. To avoid calling the public Tailscale endpoint, this is initialized from a local file.
Functions ¶
func DownloadTailcaleDERPMap ¶
DownloadTailcaleDERPMap downloads the official Tailscale public DERP map. ref. "prodDERPMap" in tailscale/tailscale/cmd/tailscale/cli/netcheck.go
func GetRegionCode ¶
GetRegionCode returns the region code for the given DERP region name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.