Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MemoryInfo ¶
func NetworkBandwidthInfo ¶
func UptimeInfo ¶
func UptimeInfo() uint64
Types ¶
type Device ¶
type Device struct { Hostname string `json:"hostname"` System System `json:"system"` Uptime uint64 `json:"uptime"` CPUCount int `json:"cpu_count"` CPUUsage float64 `json:"cpu_usage"` MemoryTotal uint64 `json:"memory_total"` MemoryUsed uint64 `json:"memory_used"` MemoryUsedPercent float64 `json:"memory_used_percent"` Drives []Drive `json:"drives"` NetworkUp uint64 `json:"network_up"` NetworkDown uint64 `json:"network_down"` NetworkCards []Nic `json:"network_cards"` Timestamp string `json:"timestamp"` UUID string `json:"uuid"` }
type Drive ¶
Click to show internal directories.
Click to hide internal directories.