Help us shape the future of Go! Take the 2026 Go Developer Survey

sensors

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Name    string
	Sensors []Sensor
}

func GetDefaultDevices

func GetDefaultDevices() ([]Device, error)

func GetDevices

func GetDevices(hwmonPath string) ([]Device, error)

func (*Device) String

func (d *Device) String() string

type Sensor

type Sensor struct {
	Name     string
	Path     string
	Alarm    bool
	Perfdata check.Perfdata
}

func (*Sensor) String

func (s *Sensor) String() string

Jump to

Keyboard shortcuts

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