Versions in this module Expand all Collapse all v1 v1.0.0 Dec 9, 2021 Changes in this version + type MyCPU struct + Family string + ID int32 + Mhz float64 + Model string + PerCent float64 + VendorID string + type MyCard struct + Addrs []net.InterfaceAddr + BytesRecv uint64 + BytesSent uint64 + ErrorsIn uint64 + ErrorsOut uint64 + MTU int + MacAddress string + Name string + PacketsRecv uint64 + PacketsSent uint64 + type MyDisk struct + Device string + FSType string + Free uint64 + MountPoint string + Total uint64 + Used uint64 + UsedPerCent float64 + type MyMemory struct + Available uint64 + Free uint64 + Total uint64 + Used uint64 + type MySys struct + Avg *load.AvgStat + CPUs *[]MyCPU + Cards *[]MyCard + Disks *[]MyDisk + Host *host.InfoStat + Hostname string + Mem *MyMemory + func (s *MySys) GetCpuInfo() ([]byte, error) + func (s *MySys) GetCpuLoad() ([]byte, error) + func (s *MySys) GetDiskInfo() ([]byte, error) + func (s *MySys) GetHostInfo() ([]byte, error) + func (s *MySys) GetMemInfo() ([]byte, error) + func (s *MySys) GetNetInfo() ([]byte, error) + func (s *MySys) SetAll() error + func (s *MySys) SetCpuInfo() error + func (s *MySys) SetCpuLoad() error + func (s *MySys) SetDiskInfo() error + func (s *MySys) SetHostInfo() error + func (s *MySys) SetMemInfo() error + func (s *MySys) SetNetInfo() error