Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchOperateReq ¶ added in v0.2.0
type BatchOperateReq struct {
g.Meta `path:"/batch/operate" method:"post" auth:"true" role:"user,admin" tags:"key" summary:"密钥批量操作接口"`
model.KeyBatchOperateReq
}
密钥批量操作接口请求参数
type BatchOperateRes ¶ added in v0.2.0
密钥批量操作接口响应参数
type ChangeStatusReq ¶
type ChangeStatusReq struct {
g.Meta `path:"/change/status" method:"post" auth:"true" role:"user,admin" tags:"key" summary:"更改密钥状态接口"`
model.KeyChangeStatusReq
}
更改密钥状态接口请求参数
type ChangeStatusRes ¶
更改密钥状态接口响应参数
type CreateReq ¶
type CreateReq struct {
g.Meta `path:"/create" method:"post" auth:"true" role:"admin" tags:"key" summary:"新建密钥接口"`
model.KeyCreateReq
}
新建密钥接口请求参数
type DeleteReq ¶
type DeleteReq struct {
g.Meta `path:"/delete" method:"post" auth:"true" role:"user,admin" tags:"key" summary:"删除密钥接口"`
Id string `json:"id"`
}
删除密钥接口请求参数
type DetailReq ¶
type DetailReq struct {
g.Meta `path:"/detail" method:"get" auth:"true" role:"user,admin" tags:"key" summary:"密钥详情接口"`
Id string `json:"id"`
}
密钥详情接口请求参数
type DetailRes ¶
type DetailRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.KeyDetailRes
}
密钥详情接口响应参数
type ListReq ¶
type ListReq struct {
g.Meta `path:"/list" method:"get" auth:"true" role:"admin" tags:"key" summary:"密钥列表接口"`
model.KeyListReq
}
密钥列表接口请求参数
type ListRes ¶
type ListRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.KeyListRes
}
密钥列表接口响应参数
type PageReq ¶
type PageReq struct {
g.Meta `path:"/page" method:"post" auth:"true" role:"user,admin" tags:"key" summary:"密钥分页列表接口"`
model.KeyPageReq
}
密钥分页列表接口请求参数
type PageRes ¶
type PageRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.KeyPageRes
}
密钥分页列表接口响应参数
Click to show internal directories.
Click to hide internal directories.