package
10.3.2+incompatible
Repository: https://github.com/joshuar/go-hass-agent.git
Documentation: pkg.go.dev

# Packages

nolint:unused,forbidigo.

# Functions

GetAllChips will return a slice of Chips containing their sensors.
GetAllSensors returns a slice of Sensor objects, representing all detected chip sensors found on the host.

# Constants

go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.
go:generate go run golang.org/x/tools/cmd/stringer -type=MonitorType -output hwmon_MonitorType_generated.go.

# Variables

HWMonPath is the detault path prefix where the hwmon userspace API exists in SysFS.

# Structs

Attribute represents an attribute of a sensor, like its max, min or average value.
Chip represents a sensor chip exposed by the Linux kernel hardware monitoring API.
Sensor represents a single sensor exposed by a sensor chip.

# Type aliases

MonitorType represents the type of sensor.