Versions in this module Expand all Collapse all v0 v0.1.1 Nov 24, 2024 Changes in this version + func StartCPUMeasuring() + type MemUsage struct + AvailableGB float64 + TotalGB float64 + UsedGB float64 + UsedPercent float64 v0.1.0 Nov 14, 2024 Changes in this version + func GetAvailableMem() (int, error) + func GetBatterySOC(batteryName string) (int, error) + func GetBatterySOH(batteryName string) (int, error) + func GetCPULoad() (float64, error) + func GetMemUsage() (float64, error) + func GetTotalMem() (int, error) + type StorageUsage struct + FreeGB float64 + TotalGB float64 + UsedGB float64 + UsedPercent float64 + func GetDiskUsage(path string) (StorageUsage, error)