api

package
v3.4.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: GPL-3.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const AttachRoot = "attach"

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(router *gin.RouterGroup)

Types

type Claims

type Claims struct {
	Id string `json:"id"`
	jwt.RegisteredClaims
}

type GroupResult added in v3.3.5

type GroupResult struct {
	Id    string  `json:"id"`
	Name  string  `json:"name"`
	Total float64 `json:"total"`
}

type GroupResultDate added in v3.3.5

type GroupResultDate struct {
	Date  string  `json:"date"`
	Total float64 `json:"total"`
}

type GroupResultTime added in v3.3.5

type GroupResultTime struct {
	Time  string  `json:"time"`
	Total float64 `json:"total"`
}

type ParamGroup added in v3.3.5

type ParamGroup struct {
	Device string `form:"device" json:"device"` //设备ID
	Point  string `form:"point" json:"point"`   //数据点位
	Start  string `form:"start" json:"start"`   //起始时间
	End    string `form:"end" json:"end"`       //结束时间
	Type   string `form:"type" json:"type"`     //设备类型
	Area   string `form:"area" json:"area"`     //设备区域
	Group  string `form:"group" json:"group"`   //设备分组
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL