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.
EasyDarwin/routers/types.go

24 lines
407 B

package routers
import "github.com/penggy/EasyGoLib/utils"
const (
BuildVersion = "v8.1"
)
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:"总数"`
}