sysinfo

package
v4.0.52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2020 License: MIT Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL