consul/vendor/github.com/shirou/gopsutil/mem/mem_fallback.go

14 lines
306 B
Go

// +build !darwin,!linux,!freebsd,!openbsd,!windows
package mem
import "github.com/shirou/gopsutil/internal/common"
func VirtualMemory() (*VirtualMemoryStat, error) {
return nil, common.ErrNotImplementedError
}
func SwapMemory() (*SwapMemoryStat, error) {
return nil, common.ErrNotImplementedError
}