shirou_gopsutil/disk/disk_darwin_nocgo.go

19 lines
399 B
Go
Raw Normal View History

// +build darwin
// +build !cgo
package disk
2017-12-31 14:25:49 +08:00
import (
"context"
"github.com/shirou/gopsutil/internal/common"
)
func IOCounters(names ...string) (map[string]IOCountersStat, error) {
2017-12-31 14:25:49 +08:00
return IOCountersWithContext(context.Background(), names...)
}
func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOCountersStat, error) {
return nil, common.ErrNotImplementedError
}