Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeCoreLoad ¶
Types ¶
type CPU ¶
type CPUInfo ¶
type CPUInfo struct {
// contains filtered or unexported fields
}
func ExtractCPUInfo ¶
func ExtractCPUInfo() *CPUInfo
type Disk ¶
type Disk struct {
MountingPoints []MountingPoint
}
func (*Disk) ExtractDiskUsage ¶
func (disk *Disk) ExtractDiskUsage()
type Memory ¶
type MountingPoint ¶
type NetworkStatus ¶
type NetworkStatus struct { BytesRecv uint64 BytesSent uint64 TotalBytesRecv uint64 TotalBytesSent uint64 }
func GetNetworkStatus ¶
func GetNetworkStatus() *NetworkStatus
func (*NetworkStatus) ComputeNetworkStatus ¶
func (networkStatus *NetworkStatus) ComputeNetworkStatus()
type Status ¶
type Status struct { CPU *CPU Memory *Memory Temperature *Temperature Disk *Disk Network *NetworkStatus // contains filtered or unexported fields }
type Temperature ¶
type Temperature struct {
T float32
}
func (*Temperature) ExtractTemp ¶
func (temperature *Temperature) ExtractTemp()
Click to show internal directories.
Click to hide internal directories.