Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeStatusReq ¶
type ChangeStatusReq struct { g.Meta `path:"/change/status" role:"user,admin" tags:"app" method:"post" summary:"更改应用状态接口"` model.AppChangeStatusReq }
更改应用状态接口请求参数
type ChangeStatusRes ¶
更改应用状态接口响应参数
type CreateKeyReq ¶
type CreateKeyReq struct { g.Meta `path:"/create/key" role:"user,admin" tags:"app" method:"post" summary:"新建应用密钥接口"` model.AppCreateKeyReq }
新建应用密钥接口请求参数
type CreateKeyRes ¶
type CreateKeyRes struct { g.Meta `mime:"application/json" example:"json"` *model.AppCreateKeyRes }
新建应用密钥接口响应参数
type CreateReq ¶
type CreateReq struct { g.Meta `path:"/create" role:"user,admin" tags:"app" method:"post" summary:"新建应用接口"` model.AppCreateReq }
新建应用接口请求参数
type CreateRes ¶
type CreateRes struct { g.Meta `mime:"application/json" example:"json"` Key string `json:"key,omitempty"` // 密钥 }
新建应用接口响应参数
type DeleteReq ¶
type DeleteReq struct { g.Meta `path:"/delete" role:"user,admin" tags:"app" method:"post" summary:"删除应用接口"` Id string `json:"id"` }
删除应用接口请求参数
type DetailReq ¶
type DetailReq struct { g.Meta `path:"/detail" role:"user,admin" tags:"app" method:"get" summary:"应用详情接口"` Id string `json:"id"` }
应用详情接口请求参数
type DetailRes ¶
type DetailRes struct { g.Meta `mime:"application/json" example:"json"` *model.AppDetailRes }
应用详情接口响应参数
type KeyConfigReq ¶
type KeyConfigReq struct { g.Meta `path:"/key/config" role:"user,admin" tags:"app" method:"post" summary:"应用密钥配置接口"` model.AppKeyConfigReq }
应用密钥配置接口请求参数
type KeyConfigRes ¶
type KeyConfigRes struct { g.Meta `mime:"application/json" example:"json"` Key string `json:"key,omitempty"` // 密钥 }
应用密钥配置接口响应参数
type ListReq ¶
type ListReq struct { g.Meta `path:"/list" role:"user,admin" tags:"app" method:"get" summary:"应用列表接口"` model.AppListReq }
应用列表接口请求参数
type ListRes ¶
type ListRes struct { g.Meta `mime:"application/json" example:"json"` *model.AppListRes }
应用列表接口响应参数
type PageReq ¶
type PageReq struct { g.Meta `path:"/page" role:"user,admin" tags:"app" method:"post" summary:"应用分页列表接口"` model.AppPageReq }
应用分页列表接口请求参数
type PageRes ¶
type PageRes struct { g.Meta `mime:"application/json" example:"json"` *model.AppPageRes }
应用分页列表接口响应参数
Click to show internal directories.
Click to hide internal directories.