Documentation ¶
Index ¶
Constants ¶
View Source
const ( BusTypeIsa = 1 BusTypePci = 2 BusTypeVirtual = 4 BusTypeAcpi = 5 BusTypeHid = 6 BusTypeScsi = 8 )
Variables ¶
This section is empty.
Functions ¶
func GetTempSensors ¶
func GetTempSensors(chip gosensors.Chip) map[int]*sensors.HwmonSensor
func UpdateFanConfigFromHwMonControllers ¶
func UpdateFanConfigFromHwMonControllers(controllers []*HwMonController, config *configuration.FanConfig) error
Types ¶
type HwMonController ¶
type HwMonController struct { Name string DType string Modalias string Platform string Path string // Fans (can be matched either by enumeration index or channel number) Fans []fans.HwMonFan // Sensors maps from HwMon index -> HwmonSensor instance Sensors map[int]*sensors.HwmonSensor }
func GetChips ¶
func GetChips() []*HwMonController
Click to show internal directories.
Click to hide internal directories.