Documentation ¶
Index ¶
Constants ¶
View Source
const (
IP_DEFAULT = "127.0.0.1"
)
Variables ¶
This section is empty.
Functions ¶
func GetActiveIP ¶
auto get a network accessable IP in both Linux and Windows
func GetActiveInterface ¶
func GetAllInterfaces ¶
func GetLocalIPByName ¶
iface_name is the interface name eg:in windows10 'WLAN' is the wireless interface card name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.