hoster

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

README

Implement power, physical interface, and disk manager.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IpLink struct {
	Alias  string `json:"alias"`
	Name   string `json:"name"`
	Master string `json:"master"`
	State  string `json:"state"`
}

type IpRoute

type IpRoute struct {
	Prefix  string `json:"prefix"`
	NextHop string `json:"gateway"`
	Source  string `json:"source"`
	Link    string `json:"link"`
}

type SystemInfo

type SystemInfo struct {
	HostName  string `json:"hostname"`
	Cpu       int    `json:"cpu"`
	CpuVendor string `json:"cpuVendor"`
	Mem       int    `json:"memory"`
	MemFree   int    `json:"memoryFree"`
}

Jump to

Keyboard shortcuts

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