sys

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 0 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(s SysSection)

Types

type SysSection

type SysSection struct {
	IfacePrefix       []string            `yaml:"ifacePrefix"`
	MountPoint        []string            `yaml:"mountPoint"`
	MountIgnorePrefix []string            `yaml:"mountIgnorePrefix"`
	IgnoreMetrics     []string            `yaml:"ignoreMetrics"`
	IgnoreMetricsMap  map[string]struct{} `yaml:"-"`
	NtpServers        []string            `yaml:"ntpServers"`
	Plugin            string              `yaml:"plugin"`
	Interval          int                 `yaml:"interval"`
	Timeout           int                 `yaml:"timeout"`
}
var Config SysSection

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL