Documentation
¶
Index ¶
- Variables
- func IsUsefulInterface(iface net.Interface) bool
- func NewNetworkIterator(n Network) *networkIterator
- func NewNetworkIteratorAsChannel(n Network) *networkIteratorAsChannel
- func SortNetworksByAddr(nets []Network)
- type DiscoveredNetwork
- type Network
- type NetworkAddedEvent
- type NetworkFilter
- type NetworkStats
- type ScanAllNetworksRequest
- type ScanNetworkRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNetworkExists = errors.New("network exists") ErrNetworkDoesNotExist = errors.New("network does not exists") )
Functions ¶
func IsUsefulInterface ¶
func NewNetworkIterator ¶
func NewNetworkIterator(n Network) *networkIterator
func NewNetworkIteratorAsChannel ¶
func NewNetworkIteratorAsChannel(n Network) *networkIteratorAsChannel
func SortNetworksByAddr ¶
func SortNetworksByAddr(nets []Network)
Types ¶
type DiscoveredNetwork ¶
type DiscoveredNetwork Network
type Network ¶
func NewNetworkFromPrefix ¶
type NetworkFilter ¶
NetworkFilter defines a function used to select a set of required devices.
type NetworkStats ¶
type ScanAllNetworksRequest ¶
type ScanAllNetworksRequest struct{}
type ScanNetworkRequest ¶
type ScanNetworkRequest Network
Click to show internal directories.
Click to hide internal directories.