Documentation
¶
Index ¶
- func DelPlugin(c *gin.Context)
- func GetPluginInfo(c *gin.Context)
- func ListPlugin(c *gin.Context)
- func RegisterPluginRouter(r gin.IRouter)
- func UploadPlugin(c *gin.Context)
- type Plugin
- type PluginInfo
- type PluginInfoReq
- type PluginInfoResp
- type Req
- type Resp
- type UploadPluginReq
- type UploadPluginResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListPlugin ¶ added in v1.5.0
func UploadPlugin ¶
Types ¶
type PluginInfo ¶
type PluginInfo struct {
ID string `json:"id"`
Name string `json:"name"`
Image string `json:"image"`
Version string `json:"version"`
Brand string `json:"brand"`
Info string `json:"info"`
IsAdded bool `json:"is_added"`
IsNewest bool `json:"is_newest"`
DownloadURL string `json:"download_url"` // 前端插件压缩包?
}
type PluginInfoReq ¶
type PluginInfoReq struct {
PluginID string `uri:"id"`
}
PluginInfoReq 插件详情接口请求参数
type PluginInfoResp ¶
type PluginInfoResp struct {
Plugin PluginInfo `json:"plugin"`
}
PluginInfoResp 插件详情接口返回数据
type UploadPluginReq ¶
type UploadPluginResp ¶
Click to show internal directories.
Click to hide internal directories.