EasyDarwin/routers/types.go

24 lines
407 B
Go
Raw Normal View History

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