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" method:"get" auth:"true" role:"reseller,user,admin" tags:"dashboard" summary:"仪表盘基础数据接口"`
}
仪表盘基础数据接口请求参数
type BaseDataRes ¶
type BaseDataRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.DashboardBaseDataRes
}
仪表盘基础数据接口响应参数
type CallDataReq ¶
type CallDataReq struct {
g.Meta `` /* 130-byte string literal not displayed */
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" method:"get" auth:"true" role:"reseller,user,admin" tags:"dashboard" 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" method:"get" auth:"true" role:"reseller,user,admin" tags:"dashboard" summary:"仪表盘费用接口"`
}
仪表盘费用接口请求参数
type ExpenseRes ¶
type ExpenseRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.DashboardExpenseRes
}
仪表盘费用接口响应参数
type ModelPercentReq ¶
type ModelPercentReq struct {
g.Meta `` /* 134-byte string literal not displayed */
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" method:"post" auth:"true" role:"reseller,user,admin" tags:"dashboard" 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" method:"post" auth:"true" role:"reseller,user,admin" tags:"dashboard" summary:"每秒钟数据接口"`
model.DashboardPerSecondReq
}
每秒钟数据接口请求参数
type PerSecondRes ¶ added in v0.4.0
type PerSecondRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.DashboardPerSecondRes
}
每秒钟数据接口响应参数
type QuotaWarningReq ¶ added in v1.4.0
type QuotaWarningReq struct {
g.Meta `path:"/quota/warning" method:"post" auth:"true" role:"user" tags:"dashboard" summary:"额度预警接口"`
model.DashboardQuotaWarningReq
}
额度预警接口请求参数
type QuotaWarningRes ¶ added in v1.4.0
额度预警接口响应参数
Click to show internal directories.
Click to hide internal directories.