Documentation
¶
Index ¶
- type BatchOperateReq
- type BatchOperateRes
- type ChangeStatusReq
- type ChangeStatusRes
- type CreateReq
- type CreateRes
- type DeleteReq
- type DeleteRes
- type DetailReq
- type DetailRes
- type ListReq
- type ListRes
- type PageReq
- type PageRes
- type QuickFillModelReq
- type QuickFillModelRes
- type SessionKeepClearAllReq
- type SessionKeepClearAllRes
- type SessionKeepClearReq
- type SessionKeepClearRes
- type SessionKeepCountReq
- type SessionKeepCountRes
- type TestModelReq
- type TestModelRes
- type UpdateReq
- type UpdateRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchOperateReq ¶
type BatchOperateReq struct {
g.Meta `path:"/batch/operate" method:"post" auth:"true" role:"admin" tags:"model_agent" summary:"模型代理批量操作接口"`
model.ModelAgentBatchOperateReq
}
模型代理批量操作接口请求参数
type BatchOperateRes ¶
模型代理批量操作接口响应参数
type ChangeStatusReq ¶
type ChangeStatusReq struct {
g.Meta `path:"/change/status" method:"post" auth:"true" role:"admin" tags:"model_agent" summary:"更改模型代理状态接口"`
model.ModelAgentChangeStatusReq
}
更改模型代理状态接口请求参数
type ChangeStatusRes ¶
更改模型代理状态接口响应参数
type CreateReq ¶
type CreateReq struct {
g.Meta `path:"/create" method:"post" auth:"true" role:"admin" tags:"model_agent" summary:"新建模型代理接口"`
model.ModelAgentCreateReq
}
新建模型代理接口请求参数
type DeleteReq ¶
type DeleteReq struct {
g.Meta `path:"/delete" method:"post" auth:"true" role:"admin" tags:"model_agent" summary:"删除模型代理接口"`
Id string `json:"id"`
}
删除模型代理接口请求参数
type DetailReq ¶
type DetailReq struct {
g.Meta `path:"/detail" method:"get" auth:"true" role:"admin" tags:"model_agent" summary:"模型代理详情接口"`
Id string `json:"id"`
}
模型代理详情接口请求参数
type DetailRes ¶
type DetailRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.ModelAgentDetailRes
}
模型代理详情接口响应参数
type ListReq ¶
type ListReq struct {
g.Meta `path:"/list" method:"get" auth:"true" role:"admin" tags:"model_agent" summary:"模型代理列表接口"`
model.ModelAgentListReq
}
模型代理列表接口请求参数
type ListRes ¶
type ListRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.ModelAgentListRes
}
模型代理列表接口响应参数
type PageReq ¶
type PageReq struct {
g.Meta `path:"/page" method:"post" auth:"true" role:"admin" tags:"model_agent" summary:"模型代理分页列表接口"`
model.ModelAgentPageReq
}
模型代理分页列表接口请求参数
type PageRes ¶
type PageRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.ModelAgentPageRes
}
模型代理分页列表接口响应参数
type QuickFillModelReq ¶
type QuickFillModelReq struct {
g.Meta `path:"/quick/fill/model" method:"post" auth:"true" role:"admin" tags:"model_agent" summary:"快速填入模型接口"`
model.ModelAgentQuickFillModelReq
}
快速填入模型接口请求参数
type QuickFillModelRes ¶
type QuickFillModelRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.ModelAgentQuickFillModelRes
}
快速填入模型接口响应参数
type SessionKeepClearAllReq ¶ added in v2.3.0
模型代理会话保持缓存清空全部接口请求参数
type SessionKeepClearAllRes ¶ added in v2.3.0
模型代理会话保持缓存清空全部接口响应参数
type SessionKeepClearReq ¶ added in v2.3.0
type SessionKeepClearReq struct {
g.Meta `` /* 137-byte string literal not displayed */
Id string `json:"id"`
}
模型代理会话保持缓存清空接口请求参数
type SessionKeepClearRes ¶ added in v2.3.0
模型代理会话保持缓存清空接口响应参数
type SessionKeepCountReq ¶ added in v2.3.0
type SessionKeepCountReq struct {
g.Meta `` /* 136-byte string literal not displayed */
Id string `json:"id"`
}
模型代理会话保持缓存数量接口请求参数
type SessionKeepCountRes ¶ added in v2.3.0
type SessionKeepCountRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.ModelAgentSessionKeepCacheStatsRes
}
模型代理会话保持缓存数量接口响应参数
type TestModelReq ¶
type TestModelReq struct {
g.Meta `path:"/test/model" method:"post" auth:"true" role:"admin" tags:"model_agent" summary:"模型代理测试模型接口"`
model.ModelAgentTestModelReq
}
模型代理测试模型接口请求参数
type TestModelRes ¶
type TestModelRes struct {
g.Meta `mime:"application/json" example:"json"`
*model.ModelAgentTestModelRes
}
模型代理测试模型接口响应参数
Click to show internal directories.
Click to hide internal directories.