Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasIPv4 ¶ added in v0.22.0
HasIPv4 returns true if the list of addresses contains an IPv4 address.
func HasIPv6 ¶ added in v0.22.0
HasIPv6 returns true if the list of addresses contains an IPv6 address.
func ParseAddrList ¶ added in v0.22.0
ParseAddrList parses a list of IP address strings and returns a list of netip.Addr.
func ParseAddrPortList ¶ added in v0.22.0
ParseAddrPortList parses a list of IP address and port strings and returns a list of netip.AddrPort.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.