Documentation
¶
Overview ¶
Package network provides network utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverDefaultGatewayDevice ¶
DiscoverDefaultGatewayDevice discovers the interface name of the default gateway device.
func GetDefaultHostAddress ¶
func GetDefaultHostAddress() string
GetDefaultHostAddress returns the default host IPv4 address.
func GetInterfaceIPV4Address ¶
GetInterfaceIPV4Address returns the IPv4 address of the given interface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.