open-nomad/vendor/github.com/shirou/gopsutil/host/host_fallback.go
2017-02-01 22:41:29 -08:00

22 lines
442 B
Go

// +build !darwin,!linux,!freebsd,!openbsd,!windows
package host
import "github.com/shirou/gopsutil/internal/common"
func Info() (*InfoStat, error) {
return nil, common.ErrNotImplementedError
}
func BootTime() (uint64, error) {
return 0, common.ErrNotImplementedError
}
func Uptime() (uint64, error) {
return 0, common.ErrNotImplementedError
}
func Users() ([]UserStat, error) {
return []UserStat{}, common.ErrNotImplementedError
}