1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-26 13:48:59 +08:00
shirou_gopsutil/host/host_darwin_nocgo.go

19 lines
384 B
Go
Raw Normal View History

2017-03-19 02:05:46 +01:00
// +build darwin
// +build !cgo
package host
2017-12-31 15:25:49 +09:00
import (
"context"
"github.com/shirou/gopsutil/internal/common"
)
2017-03-19 02:05:46 +01:00
func SensorsTemperatures() ([]TemperatureStat, error) {
2017-12-31 15:25:49 +09:00
return SensorsTemperaturesWithContext(context.Background())
}
func SensorsTemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error) {
2017-04-10 22:24:36 +09:00
return []TemperatureStat{}, common.ErrNotImplementedError
2017-03-19 02:05:46 +01:00
}