Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemInfo ¶
type SystemInfo struct {
ID string `json:"system_id"`
Hostname string `json:"hostname"`
NumCPU int64 `json:"num_cpu"`
OS string `json:"os"`
Architecture string `json:"architecture"`
GoVersion string `json:"go_version"`
}
SystemInfo returns the operating system details
func GetSystemInfo ¶
func GetSystemInfo() (*SystemInfo, error)
GetSystemInfo returns info about the system
Click to show internal directories.
Click to hide internal directories.