Documentation ¶
Overview ¶
Package networkhelper checks the status of network interfaces and let subscribers know if it is updated
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network interface { StartNetwork() CheckConnectivity() error GetOutboundIP() (string, error) GetIPs() ([]string, error) GetMACAddress() (string, error) GetNetInterface() ([]net.Interface, error) AppendSubscriber() chan []net.IP }
Network gets the informations of network interfaces of local device
Click to show internal directories.
Click to hide internal directories.