MCPcopy Create free account
hub / github.com/tailscale/tailcat / wireRegion

Struct wireRegion

wire.go:33–38  ·  view source on GitHub ↗

wireRegion is the wire form of [tailcfg.DERPRegion].

Source from the content-addressed store, hash-verified

31
32// wireRegion is the wire form of [tailcfg.DERPRegion].
33type wireRegion struct {
34 RegionID int `cbor:"i,omitempty" json:"RegionID,omitempty"`
35 RegionCode string `cbor:"c,omitempty" json:"RegionCode,omitempty"`
36 RegionName string `cbor:"m,omitempty" json:"RegionName,omitempty"`
37 Nodes []*wireNode `cbor:"N,omitempty" json:"Nodes,omitempty"`
38}
39
40// wireNode is the wire form of [tailcfg.DERPNode].
41type wireNode struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected