Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemInfo ¶
type SystemInfo struct { CpuModel string `json:"cpu"` CpuCores int `json:"cpu_cores"` Memory uint64 `json:"memory"` Disk uint64 `json:"disk"` }
func GetSystemInfo ¶
func GetSystemInfo() (SystemInfo, error)
Click to show internal directories.
Click to hide internal directories.