wotoSys

package
v0.0.0-...-f800b22 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSysInfo

func GetSysInfo() (*sysinfo.SysInfo, error)

Types

type SysInfo

type SysInfo struct {
	Version   string `json:"version"`
	TimeStamp string `json:"timestamp"`
}

type SysKernel

type SysKernel struct {
}

type SysNode

type SysNode struct {
	HostName  string `json:"hostname"`
	MachineId string `json:"machineid"`
	TimeZone  string `json:"timezone"`
}

type SysOs

type SysOs struct {
	Name         string `json:"name"`
	Vendor       string `json:"vendor"`
	Version      string `json:"version"`
	Release      string `json:"release"`
	Architecture string `json:"architecture"`
}

type WotoSys

type WotoSys struct {
	Info *SysInfo `json:"sysinfo"`
	Node *SysNode `json:"node"`
	Os   *SysOs   `json:"os"`
}

Jump to

Keyboard shortcuts

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