完成基本的系统监控类库

This commit is contained in:
Sun
2024-01-02 22:11:34 +08:00
parent 2e0af5f147
commit c447884d77
6 changed files with 198 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package global
import "sun-panel/lib/monitor"
type ModelSystemMonitor struct {
CPUInfo monitor.CPUInfo
DiskInfo []monitor.DiskInfo
NetIOCountersInfo []monitor.NetIOCountersInfo
MemoryInfo monitor.MemoryInfo
// NetIOCountersInfo monitor.NetIOCountersInfo
}