wireRegion is the wire form of [tailcfg.DERPRegion].
| 31 | |
| 32 | // wireRegion is the wire form of [tailcfg.DERPRegion]. |
| 33 | type 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]. |
| 41 | type wireNode struct { |
nothing calls this directly
no outgoing calls
no test coverage detected