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 GetVirtualIP() (string, error) }
Network gets the informations of network interfaces of local device
Directories ¶
Path | Synopsis |
---|---|
Package detector implements wrapper of netlink package
|
Package detector implements wrapper of netlink package |
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.