sysInfo

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllInfo

type AllInfo struct {
	Controller *beego.Controller
	// contains filtered or unexported fields
}

func (*AllInfo) Do

func (p *AllInfo) Do() interface{}

type HWInfo

type HWInfo struct {
	Mem  Memory
	Lshw string
}
var GHW HWInfo

GHW is global hardware info

type Hostname

type Hostname struct {
	Controller *beego.Controller
}

func (*Hostname) Do

func (p *Hostname) Do() interface{}

type Memory

type Memory struct {
	PhySize  uint64
	SWapSize uint64
}

type SWInfo

type SWInfo struct {
}

type SysInfo

type SysInfo struct {
	HW HWInfo
	SW SWInfo
}

Jump to

Keyboard shortcuts

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