package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Jul 22, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Precedence returns precedence value of ip address defined by RFC 6724.
Addr represents gathered address from interface.
ZeroPortAddr return address with "0" port.
Addrs is addr slice helper.
type Gatherer interface {
Gather() ([]Addr, error)
}
Gatherer is source for addresses.
See RFC 8445 Section 2.1 for details on gathering.
var DefaultGatherer Gatherer = defaultGatherer{}
DefaultGatherer uses net.Interfaces to gather addresses.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.