Documentation ¶
Index ¶
Constants ¶
View Source
const ( NET_NETSTAT = "/net/netstat" NET_SNMP = "/net/snmp" NET_SNMP6 = "/net/snmp6" NET_PROC = "/proc" )
default file paths
View Source
const ( ENV_NETSTAT = "PROC_NET_NETSTAT" ENV_SNMP = "PROC_NET_SNMP" ENV_SNMP6 = "PROC_NET_SNMP6" ENV_ROOT = "PROC_ROOT" )
env variable names
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nstat ¶
type Nstat struct { ProcNetNetstat string `toml:"proc_net_netstat"` ProcNetSNMP string `toml:"proc_net_snmp"` ProcNetSNMP6 string `toml:"proc_net_snmp6"` DumpZeros bool `toml:"dump_zeros"` }
func (*Nstat) Description ¶
func (*Nstat) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.