Documentation ¶
Index ¶
- func GetCPUPercent() int
- func GetDNS() ([]string, error)
- func GetDiskPercent() int
- func GetGateway() (string, error)
- func GetHostname() string
- func GetMemoryPercent() int
- func GetTime() string
- func SetDNS(newDns []string) error
- func SetHostname(hostname string) error
- func UpdateTime(server string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCPUPercent ¶
func GetCPUPercent() int
func GetDiskPercent ¶
func GetDiskPercent() int
func GetGateway ¶
func GetHostname ¶
func GetHostname() string
func GetMemoryPercent ¶
func GetMemoryPercent() int
func SetHostname ¶
func UpdateTime ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.