Documentation ¶
Overview ¶
Package derpmap contains information about Tailscale.com's production DERP nodes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { ID int // HostHTTPS is the HTTPS hostname. HostHTTPS string // STUN4 is the host:port of the IPv4 STUN server on this DERP // node. Required. STUN4 string // STUN6 optionally provides the IPv6 host:port of the STUN // server on the DERP node. // It should be an IPv6-only address for now. (We currently make lazy // assumptions that the server names are unique.) STUN6 string // Geo is a human-readable geographic region name of this server. Geo string }
Server is configuration for a DERP server.
type World ¶
type World struct {
// contains filtered or unexported fields
}
World is a set of DERP server.
func NewTestWorld ¶
func NewTestWorldWith ¶
func (*World) LocationOfID ¶
LocationOfID returns the geographic name of a node, if present.
func (*World) NodeIDOfSTUNServer ¶
func (*World) ServerByID ¶
Click to show internal directories.
Click to hide internal directories.