Documentation ¶
Overview ¶
Package ifacesrepository provides access to host interfaces
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ifaces ¶
type Ifaces interface { // GetIPAddresses from host GetIPAddresses() ([]string, error) // LookupAddr name of an IP address LookupAddr(ip string) (string, error) }
Ifaces is the interface to retrieve network information.
func NewIfacesNet ¶
NewIfacesNet represents a net based implementation of Ifaces.
Click to show internal directories.
Click to hide internal directories.