Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatteryInfo ¶
type Collector ¶
type Collector interface {
Collect() (*SystemInfo, error)
}
Collector interface for gathering system information
type MemoryInfo ¶
type SystemInfo ¶
type SystemInfo struct {
OS string
Kernel string
Hostname string
Uptime string
CPU string
Memory MemoryInfo
Disk DiskInfo
Shell string
Terminal string
Resolution string
DE string
WM string
Theme string
Icons string
GPU []string
Network []NetworkInfo
Battery BatteryInfo
LocalIP string
PublicIP string
}
SystemInfo holds all collected system information
Click to show internal directories.
Click to hide internal directories.