Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseDataReq ¶
type BaseDataReq struct {
g.Meta `path:"/base/data" role:"user,admin" tags:"dashboard" method:"get" summary:"仪表盘基础数据接口"`
}
仪表盘基础数据接口请求参数
type BaseDataRes ¶
type BaseDataRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.DashboardBaseDataRes
}
仪表盘基础数据接口响应参数
type CallDataReq ¶
type CallDataReq struct {
g.Meta `path:"/call/data/:days" role:"user,admin" tags:"dashboard" method:"get" summary:"仪表盘调用数据接口"`
model.DashboardCallDataReq
}
仪表盘调用数据接口请求参数
type CallDataRes ¶
type CallDataRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.DashboardCallDataRes
}
仪表盘调用数据接口响应参数
type DataTopReq ¶
type DataTopReq struct {
g.Meta `path:"/data/top" role:"user,admin" tags:"dashboard" method:"get" summary:"仪表盘数据TOP接口"`
model.DashboardDataTopReq
}
仪表盘数据TOP接口请求参数
type DataTopRes ¶
type DataTopRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.DashboardDataTopRes
}
仪表盘数据TOP接口响应参数
type ExpenseReq ¶
type ExpenseReq struct {
g.Meta `path:"/expense" role:"user,admin" tags:"dashboard" method:"get" summary:"仪表盘费用接口"`
}
仪表盘费用接口请求参数
type ExpenseRes ¶
type ExpenseRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.DashboardExpenseRes
}
仪表盘费用接口响应参数
type ModelPercentReq ¶
type ModelPercentReq struct {
g.Meta `path:"/model/percent/:days" role:"user,admin" tags:"dashboard" method:"get" summary:"仪表盘模型占比接口"`
model.DashboardModelPercentReq
}
仪表盘模型占比接口请求参数
type ModelPercentRes ¶
type ModelPercentRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.DashboardModelPercentRes
}
仪表盘模型占比接口响应参数
type PerMinuteReq ¶ added in v0.4.0
type PerMinuteReq struct {
g.Meta `path:"/per/minute" role:"user,admin" tags:"dashboard" method:"post" summary:"每分钟数据接口"`
model.DashboardPerMinuteReq
}
每分钟数据接口请求参数
type PerMinuteRes ¶ added in v0.4.0
type PerMinuteRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.DashboardPerMinuteRes
}
每分钟数据接口响应参数
type PerSecondReq ¶ added in v0.4.0
type PerSecondReq struct {
g.Meta `path:"/per/second" role:"user,admin" tags:"dashboard" method:"post" summary:"每秒钟数据接口"`
model.DashboardPerSecondReq
}
每秒钟数据接口请求参数
type PerSecondRes ¶ added in v0.4.0
type PerSecondRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.DashboardPerSecondRes
}
每秒钟数据接口响应参数
Click to show internal directories.
Click to hide internal directories.