Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IPAddresses ¶
func IPAddresses() (common.MeasurementsMap, error)
Types ¶
type NetWatcher ¶
type NetWatcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
func NewWatcher(cfg NetWatcherConfig) *NetWatcher
func (*NetWatcher) ExcludedInterfacesByName ¶
func (nw *NetWatcher) ExcludedInterfacesByName(allInterfaces []utilnet.InterfaceStat) map[string]struct{}
func (*NetWatcher) InterfaceExcludeRegexCompiled ¶
func (nw *NetWatcher) InterfaceExcludeRegexCompiled() []*regexp.Regexp
InterfaceExcludeRegexCompiled compiles and cache all the interfaces-filtering regexp's user has specified in the Config So we don't need to compile them on each iteration of measurements
func (*NetWatcher) Results ¶
func (nw *NetWatcher) Results() (common.MeasurementsMap, error)
Click to show internal directories.
Click to hide internal directories.