30 lines
520 B
Go
30 lines
520 B
Go
// +build windows
|
|
|
|
package load
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/shirou/gopsutil/internal/common"
|
|
)
|
|
|
|
func Avg() (*AvgStat, error) {
|
|
return AvgWithContext(context.Background())
|
|
}
|
|
|
|
func AvgWithContext(ctx context.Context) (*AvgStat, error) {
|
|
ret := AvgStat{}
|
|
|
|
return &ret, common.ErrNotImplementedError
|
|
}
|
|
|
|
func Misc() (*MiscStat, error) {
|
|
return MiscWithContext(context.Background())
|
|
}
|
|
|
|
func MiscWithContext(ctx context.Context) (*MiscStat, error) {
|
|
ret := MiscStat{}
|
|
|
|
return &ret, common.ErrNotImplementedError
|
|
}
|