package sensors
import "github.com/shirou/gopsutil/v4/sensors"
Index ¶
- type TemperatureStat
- func SensorsTemperatures() ([]TemperatureStat, error)
- func TemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error)
- func (t TemperatureStat) String() string
- type Warnings
Types ¶
type TemperatureStat ¶
type TemperatureStat struct { SensorKey string `json:"sensorKey"` Temperature float64 `json:"temperature"` High float64 `json:"sensorHigh"` Critical float64 `json:"sensorCritical"` }
func SensorsTemperatures ¶
func SensorsTemperatures() ([]TemperatureStat, error)
func TemperaturesWithContext ¶
func TemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error)
func (TemperatureStat) String ¶
func (t TemperatureStat) String() string
type Warnings ¶
Source Files ¶
sensors.go sensors_fallback.go
- Version
- v4.24.6
- Published
- Jun 25, 2024
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 3 days ago –
Tools for package owners.