Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllMemoryResponse ¶
type AllMemoryResponse struct { Error bool `json:"error"` Msg string `json:"msg"` Data *MemoryStats `json:"data"` }
type MemoryStat ¶
type MemoryStats ¶
type MemoryStats struct { VirtualMemory *VirtualMemory SwapMemory *SwapMemory SwapDevices []*SwapDevice }
type SwapDevice ¶
type SwapMemory ¶
type SwapMemory struct { MemoryStat Free uint64 `json:"free"` }
type VirtualMemory ¶
type VirtualMemory struct { MemoryStat Available uint64 `json:"available"` }
Click to show internal directories.
Click to hide internal directories.