hardware

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSMBIOSInfo

func GetSMBIOSInfo() (*smbios.SMBIOS, error)

GetSMBIOSInfo returns the SMBIOS info.

Types

type SystemInfoController

type SystemInfoController struct {
	SMBIOS *smbios.SMBIOS
}

SystemInfoController populates CPU information of the underlying hardware.

func (*SystemInfoController) Inputs

func (ctrl *SystemInfoController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*SystemInfoController) Name

func (ctrl *SystemInfoController) Name() string

Name implements controller.Controller interface.

func (*SystemInfoController) Outputs

func (ctrl *SystemInfoController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*SystemInfoController) Run

Run implements controller.Controller interface.

Jump to

Keyboard shortcuts

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