shirou_gopsutil/host/host_darwin_nocgo.go

19 lines
384 B
Go
Raw Normal View History

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