1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-28 13:48:49 +08:00
shirou_gopsutil/load/load_fallback.go

26 lines
513 B
Go
Raw Normal View History

// +build !darwin,!linux,!freebsd,!openbsd,!windows
package load
2017-12-31 15:25:49 +09:00
import (
"context"
2018-11-19 22:06:05 -08:00
"github.com/shirou/gopsutil/internal/common"
2017-12-31 15:25:49 +09:00
)
func Avg() (*AvgStat, error) {
2017-12-31 15:25:49 +09:00
return AvgWithContext(context.Background())
}
func AvgWithContext(ctx context.Context) (*AvgStat, error) {
return nil, common.ErrNotImplementedError
}
func Misc() (*MiscStat, error) {
2017-12-31 15:25:49 +09:00
return MiscWithContext(context.Background())
}
func MiscWithContext(ctx context.Context) (*MiscStat, error) {
return nil, common.ErrNotImplementedError
}