mirror of https://github.com/EasyDarwin/EasyDarwin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
407 B
24 lines
407 B
6 years ago
|
package routers
|
||
|
|
||
|
import "github.com/penggy/EasyGoLib/utils"
|
||
|
|
||
|
const (
|
||
|
BuildVersion = "v8.0"
|
||
|
)
|
||
|
|
||
|
type PercentData struct {
|
||
|
Time utils.DateTime `json:"time"`
|
||
|
Used float64 `json:"使用"`
|
||
|
}
|
||
|
|
||
|
type DiskData struct {
|
||
|
Disk string `json:"disk"`
|
||
|
Total int `json:"total"`
|
||
|
Used int `json:"used"`
|
||
|
}
|
||
|
|
||
|
type CountData struct {
|
||
|
Time utils.DateTime `json:"time"`
|
||
|
Total uint `json:"总数"`
|
||
|
}
|