package
Version:
v0.0.0-...-a99fd5a
Opens a new window with list of versions in this module.
Published: Mar 23, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CpuInfo struct {
Model string `json:"model,omitempty"`
Speed string `json:"speed,omitempty"`
Core string `json:"core,omitempty"`
Percent string `json:"percent,omitempty"`
}
type HddInfo struct {
Total string `json:"total,omitempty"`
Used string `json:"used,omitempty"`
Free string `json:"free,omitempty"`
Percent string `json:"percent,omitempty"`
}
type MemInfo struct {
Total string `json:"total,omitempty"`
Free string `json:"free,omitempty"`
Percent string `json:"percent,omitempty"`
}
type SysInfo struct {
Hostname string `json:"hostname,omitempty"`
Platform string `json:"platform,omitempty"`
Uuid string `json:"uuid,omitempty"`
Uptime string `json:"uptime,omitempty"`
Cpu CpuInfo `json:"cpu,omitempty"`
Mem MemInfo `json:"mem,omitempty"`
Hdd HddInfo `json:"hdd,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.