Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CPU ¶
type CPU struct {
Info []cpu.InfoStat `yaml:"info,omitempty" json:"info,omitempty" toml:"info,omitempty"`
Times []cpu.TimesStat `yaml:"times,omitempty" json:"times,omitempty" toml:"times,omitempty"`
}
CPU for debug.
type Host ¶
type Host struct {
Info *host.InfoStat `yaml:"info,omitempty" json:"info,omitempty" toml:"info,omitempty"`
}
Host for debug.
type Load ¶
type Load struct {
Avg *load.AvgStat `yaml:"avg,omitempty" json:"avg,omitempty" toml:"avg,omitempty"`
}
Load for debug.
type Mem ¶
type Mem struct {
Swap *mem.SwapMemoryStat `yaml:"swap,omitempty" json:"swap,omitempty" toml:"swap,omitempty"`
Virtual *mem.VirtualMemoryStat `yaml:"virtual,omitempty" json:"virtual,omitempty" toml:"virtual,omitempty"`
Devices []*mem.SwapDevice `yaml:"devices,omitempty" json:"devices,omitempty" toml:"devices,omitempty"`
}
Mem for debug.
type Net ¶
type Net struct {
Counters []net.IOCountersStat `yaml:"counters,omitempty" json:"counters,omitempty" toml:"counters,omitempty"`
}
Net for debug.
type Response ¶
type Response struct {
CPU *CPU `yaml:"cpu,omitempty" json:"cpu,omitempty" toml:"cpu,omitempty"`
Host *Host `yaml:"host,omitempty" json:"host,omitempty" toml:"host,omitempty"`
Load *Load `yaml:"load,omitempty" json:"load,omitempty" toml:"load,omitempty"`
Mem *Mem `yaml:"mem,omitempty" json:"mem,omitempty" toml:"mem,omitempty"`
Net *Net `yaml:"net,omitempty" json:"net,omitempty" toml:"net,omitempty"`
}
Response for debug.
Click to show internal directories.
Click to hide internal directories.