Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SystemInfo ¶
type SystemInfo struct {
ID string
Name string `json:"name"`
Version string `json:"version"`
Hostname string `json:"hostname"`
Memory uint64 `json:"memory"`
TotalMemory uint64 `json:"total_memory"`
NumCPU int `json:"num_cpu"`
OS string `json:"os"`
Architecture string `json:"architecture"`
GoVersion string `json:"go_version"`
AgentVersion string `json:"agent_version"`
FreeSpace uint64 `json:"free_space"`
}
SystemInfo returns the operating system details
func GetSystemInfo ¶
func GetSystemInfo(root string) SystemInfo
GetSystemInfo returns the SystemInfo details
Click to show internal directories.
Click to hide internal directories.