mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
fix: lint
This commit is contained in:
@@ -5,25 +5,30 @@ type Load struct {
|
||||
Load5 []float64 `json:"load5"`
|
||||
Load15 []float64 `json:"load15"`
|
||||
}
|
||||
|
||||
type CPU struct {
|
||||
Percent []string `json:"percent"`
|
||||
}
|
||||
|
||||
type Mem struct {
|
||||
Total string `json:"total"`
|
||||
Available []string `json:"available"`
|
||||
Used []string `json:"used"`
|
||||
}
|
||||
|
||||
type SWAP struct {
|
||||
Total string `json:"total"`
|
||||
Used []string `json:"used"`
|
||||
Free []string `json:"free"`
|
||||
}
|
||||
|
||||
type Network struct {
|
||||
Sent []string `json:"sent"`
|
||||
Recv []string `json:"recv"`
|
||||
Tx []string `json:"tx"`
|
||||
Rx []string `json:"rx"`
|
||||
}
|
||||
|
||||
type MonitorData struct {
|
||||
Times []string `json:"times"`
|
||||
Load Load `json:"load"`
|
||||
|
||||
Reference in New Issue
Block a user