Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OverallStats ¶
type OverallStats struct { NetStats map[string]netStats `json:"net"` CPUStats []float64 `json:"cpu"` DiskStats []diskStats `json:"disk"` CPULoad cpuInfo.CPULoad `json:"cpuLoad"` MemStats memStats `json:"mem"` Epoch uint64 `json:"epoch"` }
OverallStats describes the structure of each exported json object.
func NewOverallStats ¶
func NewOverallStats() *OverallStats
NewOverallStats returns a pointer to an empty OverallStats struct
Click to show internal directories.
Click to hide internal directories.