hardwareinfo

package
Version: v0.0.0-...-5385bce Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RoomDevicesInfo

func RoomDevicesInfo(ctx context.Context) (map[string]structs.HardwareInfo, *nerr.E)

RoomDevicesInfo .

Types

type HardwareInfo

type HardwareInfo struct {
	Host    map[string]interface{} `json:"host,omitempty"`
	Memory  map[string]interface{} `json:"memory,omitempty"`
	CPU     map[string]interface{} `json:"cpu,omitempty"`
	Disk    map[string]interface{} `json:"disk,omitempty"`
	Network map[string]interface{} `json:"network,omitempty"`
	Docker  map[string]interface{} `json:"docker,omitempty"`
	Procs   map[string]interface{} `json:"procs,omitempty"`
}

HardwareInfo .

func PiInfo

func PiInfo() (HardwareInfo, *nerr.E)

PiInfo .

Source Files

Jump to

Keyboard shortcuts

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