EasyDarwin/routers/types.go

23 lines
423 B
Go
Raw Normal View History

2018-11-07 11:28:13 +00:00
package routers
import "github.com/penggy/EasyGoLib/utils"
2018-12-22 06:13:05 +00:00
var BuildVersion = "v8.1"
var BuildDateTime = ""
2018-11-07 11:28:13 +00:00
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:"总数"`
}