Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ZknsAddr ¶
type ZknsAddr struct { // These fields came from a Python app originally that used a different // naming convention. Host string `json:"host"` Port int `json:"port"` // DEPRECATED NamedPortMap map[string]int `json:"named_port_map"` IPv4 string `json:"ipv4"` // contains filtered or unexported fields }
type ZknsAddrs ¶
type ZknsAddrs struct { Entries []ZknsAddr // contains filtered or unexported fields }
SRV records can have multiple endpoints, so this is always a list. A record with one entry and a port number zero is interpreted as a CNAME. A record with one entry, a port number zero and an IP address is interpreted as an A.
Click to show internal directories.
Click to hide internal directories.