mirror of https://github.com/cjbassi/gotop.git
commit
1ec79f1574
|
@ -11,7 +11,7 @@ type TemperatureStat struct {
|
||||||
Temperature float64 `json:"sensorTemperature"`
|
Temperature float64 `json:"sensorTemperature"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func SensorsTempatures() ([]TemperatureStat, error) {
|
func SensorsTemperatures() ([]TemperatureStat, error) {
|
||||||
temperatureKeys := []string{
|
temperatureKeys := []string{
|
||||||
C.AMBIENT_AIR_0,
|
C.AMBIENT_AIR_0,
|
||||||
C.AMBIENT_AIR_1,
|
C.AMBIENT_AIR_1,
|
||||||
|
|
Loading…
Reference in New Issue