9ccb340893
* deps: update golang.org/x/sys * deps: update imports to gopsutil/v3 * chore: make update-vendor
26 lines
604 B
Go
26 lines
604 B
Go
// +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows
|
|
|
|
package mem
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/shirou/gopsutil/v3/internal/common"
|
|
)
|
|
|
|
func VirtualMemory() (*VirtualMemoryStat, error) {
|
|
return VirtualMemoryWithContext(context.Background())
|
|
}
|
|
|
|
func VirtualMemoryWithContext(ctx context.Context) (*VirtualMemoryStat, error) {
|
|
return nil, common.ErrNotImplementedError
|
|
}
|
|
|
|
func SwapMemory() (*SwapMemoryStat, error) {
|
|
return SwapMemoryWithContext(context.Background())
|
|
}
|
|
|
|
func SwapMemoryWithContext(ctx context.Context) (*SwapMemoryStat, error) {
|
|
return nil, common.ErrNotImplementedError
|
|
}
|