完成系统监控的基础api接口

This commit is contained in:
Sun
2024-01-02 23:14:04 +08:00
parent c447884d77
commit 11ea134be3
7 changed files with 60 additions and 20 deletions
+10
View File
@@ -0,0 +1,10 @@
package global
import "sun-panel/lib/monitor"
type ModelSystemMonitor struct {
CPUInfo monitor.CPUInfo
DiskInfo []monitor.DiskInfo
NetIOCountersInfo []monitor.NetIOCountersInfo
MemoryInfo monitor.MemoryInfo
}