plugin

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PluginInfo

func PluginInfo(c *gin.Context)

PluginInfo 用于处理插件详情接口的请求

func RegisterPluginRouter

func RegisterPluginRouter(r gin.IRouter)

RegisterPluginRouter 插件

func UploadPlugin

func UploadPlugin(c *gin.Context)

Types

type PluginInfoReq

type PluginInfoReq struct {
	PluginID string `uri:"id"`
}

PluginInfoReq 插件详情接口请求参数

type PluginInfoResp

type PluginInfoResp struct {
	Plugin brand.Plugin `json:"plugin"`
}

PluginInfoResp 插件详情接口返回数据

type UploadPluginReq

type UploadPluginReq struct {
	File multipart.File
	// contains filtered or unexported fields
}

type UploadPluginResp

type UploadPluginResp struct {
	PluginInfo plugin.Plugin `json:"plugin_info"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL