Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectHostIPv4 ¶
DetectHostIPv4 attempts to determine the host IPv4 address by finding the first non-loopback device with an assigned IPv4 address.
func FixUnspecifiedHostAddr ¶
func IsRoutableIPv4 ¶ added in v0.1.11
IsRoutableIP checks that the passed string can be parsed in to a valid IPv4 address, and that it is not a loopback or unspecified address that would not be reachable outside of that host device.
Types ¶
Click to show internal directories.
Click to hide internal directories.