Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "1.1.4"
Variables ¶
This section is empty.
Functions ¶
func CommandMpstat ¶
func GetCpuStatus ¶
func GetOutboundIP ¶
Types ¶
type ScannerData ¶
type ScannerData struct { Version string `json:"version"` Uuid string `json:"uuid"` Load []float64 `json:"load"` Hostname string `json:"hostname"` CpuCors int `json:"cores"` Ram uint64 `json:"ram"` Disk syscall.Statfs_t `json:"disk"` IpData []IpData `json:"ip_data"` IpAddr net.IP `json:"ip_addr"` Tasks []database.Task `json:"tasks"` }
func GetScannerData ¶
func GetScannerData() (*ScannerData, error)
Click to show internal directories.
Click to hide internal directories.