Documentation
¶
Index ¶
- func AddrToIP(addr net.Addr) net.IP
- func CommonIPV4() (string, error)
- func CommonIPv6() (string, error)
- func ExternalIP() (net.IP, error)
- func ExternalIPStr() string
- func IPStrToUint32(ipStr string) uint32
- func IPv4ToUint32(ip net.IP) uint32
- func IPv4s() ([]net.IP, error)
- func IPv6s() ([]net.IP, error)
- func LocalIPv4s() ([]net.IP, error)
- func LocalIPv6s() ([]net.IP, error)
- func PrivateIPv4() (net.IP, error)
- func Uint32ToIPv4(ipInt uint32) net.IP
- type StrAddr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocalIPv4s ¶ added in v1.7.14
LocalIPv4s performs the operation.
func LocalIPv6s ¶ added in v1.7.14
LocalIPv6s performs the operation.
func PrivateIPv4 ¶ added in v1.7.14
PrivateIPv4 performs the operation.
Types ¶
Click to show internal directories.
Click to hide internal directories.