Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseIPAddr ¶
func RestRequest ¶
func RestRequest(method server.RequestMethod, url string, reqBody interface{}, respBody interface{}) (bool, error)
Types ¶
type SystemLoad ¶
type SystemLoad struct { CPUUTotal uint8 `json:"cpu_total"` CPUUsed uint8 `json:"cpu_use"` MemoryTotal uint `json:"memory_total"` MemoryUsed uint `json:"memory_used"` }
func AcquireSystemLoad ¶
func AcquireSystemLoad() SystemLoad
Click to show internal directories.
Click to hide internal directories.