Documentation ¶
Overview ¶
Package system_status ------------------------------------------------------------------------ Modified from gin-vue-admin (https://github.com/flipped-aurora/gin-vue-admin) ------------------------------------------------------------------------
Index ¶
Constants ¶
View Source
const ( B = 1 KB = 1024 * B MB = 1024 * KB GB = 1024 * MB )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemStatus ¶
type SystemStatus struct { Os Os `json:"os"` Cpu Cpu `json:"cpu"` Ram Ram `json:"ram"` Disk Disk `json:"disk"` }
func New ¶
func New() (s *SystemStatus, err error)
Click to show internal directories.
Click to hide internal directories.