Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPULevels ¶
type CPULevels []int
CPULevels is the type returned by the Usage() method of a CPU load monitor.
type Load ¶
type Load interface { StartStopper Update(int64) }
Load is implemented by resource load controllers.
type MemStats ¶
type MemStats struct { Total int `json:"total"` Available int `json:"available"` Used int `json:"used"` UsedPct int `json:"usedpct"` }
MemStats is the type returned by the Usage() method of a memory load monitor.
type Monitor ¶
type Monitor interface { StartStopper Usage() interface{} }
Monitor is implemented by resource consumption monitors.
type StartStopper ¶
type StartStopper interface { Start() Stop() }
StartStopper is implemented by types which can be started and stopped.
Click to show internal directories.
Click to hide internal directories.