Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeObjects ¶
Types ¶
type SensorMonitor ¶
func NewSensorMonitor ¶
func NewSensorMonitor(sensor sensors.Sensor, pollingRate time.Duration) SensorMonitor
func NewSensorMonitorWithClock ¶
func NewSensorMonitorWithClock(sensor sensors.Sensor, pollingRate time.Duration, clock util.Clock) SensorMonitor
NewSensorMonitorWithClock is NewSensorMonitor with an explicit time source, e.g. a util.FakeClock in tests.
Directories
¶
| Path | Synopsis |
|---|---|
|
status
Package status contains the state of a fan controller, as exported by the statistics and the REST API.
|
Package status contains the state of a fan controller, as exported by the statistics and the REST API. |
|
lmsensors
Package lmsensors discovers hwmon chips and their features the way libsensors (lm-sensors) does.
|
Package lmsensors discovers hwmon chips and their features the way libsensors (lm-sensors) does. |
|
Package quirks is fan2go's registry of known hardware quirks: driver behaviour that fan2go can't detect reliably, but that is documented in the kernel docs or the driver source of a specific device.
|
Package quirks is fan2go's registry of known hardware quirks: driver behaviour that fan2go can't detect reliably, but that is documented in the kernel docs or the driver source of a specific device. |
|
Package warnings holds the problems fan2go detected about its configured items (fans, sensors, curves) that the user should know about, so that the REST API can show them besides the log.
|
Package warnings holds the problems fan2go detected about its configured items (fans, sensors, curves) that the user should know about, so that the REST API can show them besides the log. |
Click to show internal directories.
Click to hide internal directories.