Serge Bazanski | cc25bdf | 2018-10-25 14:02:58 +0200 | [diff] [blame] | 1 | // +build windows |
| 2 | |
| 3 | package load |
| 4 | |
| 5 | import ( |
| 6 | "context" |
| 7 | |
| 8 | "github.com/shirou/gopsutil/internal/common" |
| 9 | ) |
| 10 | |
| 11 | func Avg() (*AvgStat, error) { |
| 12 | return AvgWithContext(context.Background()) |
| 13 | } |
| 14 | |
| 15 | func AvgWithContext(ctx context.Context) (*AvgStat, error) { |
| 16 | ret := AvgStat{} |
| 17 | |
| 18 | return &ret, common.ErrNotImplementedError |
| 19 | } |
| 20 | |
| 21 | func Misc() (*MiscStat, error) { |
| 22 | return MiscWithContext(context.Background()) |
| 23 | } |
| 24 | |
| 25 | func MiscWithContext(ctx context.Context) (*MiscStat, error) { |
| 26 | ret := MiscStat{} |
| 27 | |
| 28 | return &ret, common.ErrNotImplementedError |
| 29 | } |