Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Family ¶
type Family string
IP family helps identifying single stack IPv4/IPv6 vs Dual-stack ["IPv4", "IPv6"] or ["IPv6", "Ipv4"].
func ForAddress ¶
ForAddress returns the address family for a given address.
func ForAddresses ¶
ForAddresses returns the address family given list of addresses strings.
func ForAddressesIPs ¶
ForAddressesIPs returns the address family from a given list of addresses IPs.
func ForService ¶ added in v0.13.0
ForService returns the address family of a given service.
Click to show internal directories.
Click to hide internal directories.