Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginInfoInstallReq ¶
type PluginInfoInstallReq struct {
g.Meta `path:"/install" method:"POST" summary:"安装插件" tags:"插件管理"`
Force bool `json:"force"` // 强制安装(跳过检查)
}
PluginInfoInstallReq 安装插件请求(ZIP 包上传)
type PluginInfoInvokeReq ¶
type PluginInfoInvokeReq struct {
g.Meta `path:"/invoke" method:"POST" summary:"调用插件方法" tags:"插件管理"`
Key string `json:"key" v:"required#插件key不能为空"`
Method string `json:"method" v:"required#方法名不能为空"`
Params []interface{} `json:"params"`
}
PluginInfoInvokeReq 调用插件方法请求
type PluginInfoReloadReq ¶
type PluginInfoReloadReq struct {
g.Meta `path:"/reload" method:"POST" summary:"重载插件" tags:"插件管理"`
Key string `json:"key" v:"required#插件key不能为空"`
}
PluginInfoReloadReq 重载插件请求
Click to show internal directories.
Click to hide internal directories.