Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchOperateReq ¶
type BatchOperateReq struct {
g.Meta `` /* 130-byte string literal not displayed */
model.AppKeyBatchOperateReq
}
应用密钥批量操作接口请求参数
type BatchOperateRes ¶
type BatchOperateRes struct {
g.Meta `mime:"application/json" example:"json"`
Keys string `json:"keys,omitempty"`
}
应用密钥批量操作接口响应参数
type ChangeStatusReq ¶
type ChangeStatusReq struct {
g.Meta `` /* 130-byte string literal not displayed */
model.AppKeyChangeStatusReq
}
更改应用密钥状态接口请求参数
type ChangeStatusRes ¶
更改应用密钥状态接口响应参数
type ConfigReq ¶
type ConfigReq struct {
g.Meta `path:"/config" method:"post" auth:"true" role:"user,reseller,admin" tags:"app_key" summary:"应用密钥配置接口"`
model.AppKeyConfigReq
}
应用密钥配置接口请求参数
type ConfigRes ¶
type ConfigRes struct {
g.Meta `mime:"application/json" example:"json"`
Key string `json:"key,omitempty"`
}
应用密钥配置接口响应参数
type CreateReq ¶
type CreateReq struct {
g.Meta `path:"/create" method:"post" auth:"true" role:"user,reseller,admin" tags:"app_key" summary:"新建应用密钥接口"`
model.AppKeyCreateReq
}
新建应用密钥接口请求参数
type CreateRes ¶
type CreateRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.AppKeyCreateRes
}
新建应用密钥接口响应参数
type DeleteReq ¶
type DeleteReq struct {
g.Meta `path:"/delete" method:"post" auth:"true" role:"user,reseller,admin" tags:"app_key" summary:"删除应用密钥接口"`
Id string `json:"id"`
}
删除应用密钥接口请求参数
type DetailReq ¶
type DetailReq struct {
g.Meta `path:"/detail" method:"get" auth:"true" role:"user,reseller,admin" tags:"app_key" summary:"应用密钥详情接口"`
Id string `json:"id"`
}
应用密钥详情接口请求参数
type DetailRes ¶
type DetailRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.AppKeyDetailRes
}
应用密钥详情接口响应参数
type ExportReq ¶
type ExportReq struct {
g.Meta `path:"/export" method:"post" auth:"true" role:"user,reseller,admin" tags:"app_key" summary:"应用密钥导出接口"`
model.AppKeyExportReq
}
应用密钥导出接口请求参数
Click to show internal directories.
Click to hide internal directories.