Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BASE_PATH string = "/sys/class/hwmon/"
Functions ¶
func PrintSensorStats ¶
Types ¶
type DeviceStat ¶
type DeviceStat struct { Name string `json:"Name"` LowValue float64 `json:"LowValue"` HighValue float64 `json:"HighValue"` Stats []TemperatureStat `json:"Stats"` }
a list of stats for this device
type SensorsStats ¶
type SensorsStats struct {
Devices []DeviceStat
}
type TemperatureStat ¶
Click to show internal directories.
Click to hide internal directories.