Documentation
¶
Index ¶
- func DetailHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func DisableHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func EnableHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func InstalledActionHandler(svcCtx *svc.ServiceContext, action string) app.HandlerFunc
- func InstalledDetailHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func InstalledEventsHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func InstalledHealthHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func InstalledListHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func InstalledManifestHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func InstalledMiddlewareHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func InstalledReloadAllHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func InstalledRoutesHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func InstalledUploadHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func InstalledValidateHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func ListHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
- func ReloadHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetailHandler ¶
func DetailHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
DetailHandler 获取插件详情 GET /v1/admin/plugin/detail?name=xxx
func DisableHandler ¶
func DisableHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
DisableHandler 禁用插件 POST /v1/admin/plugin/disable
func EnableHandler ¶
func EnableHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
EnableHandler 启用插件 POST /v1/admin/plugin/enable
func InstalledActionHandler ¶
func InstalledActionHandler(svcCtx *svc.ServiceContext, action string) app.HandlerFunc
InstalledActionHandler 执行插件生命周期动作。
func InstalledDetailHandler ¶
func InstalledDetailHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
InstalledDetailHandler 获取插件详情 GET /v1/admin/plugins/:name
func InstalledEventsHandler ¶
func InstalledEventsHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
InstalledEventsHandler 获取插件事件订阅 GET /v1/admin/plugins/:name/events
func InstalledHealthHandler ¶
func InstalledHealthHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
InstalledHealthHandler 获取插件健康状态 GET /v1/admin/plugins/:name/health
func InstalledListHandler ¶
func InstalledListHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
InstalledListHandler 获取已安装插件列表 GET /v1/admin/plugins
func InstalledManifestHandler ¶
func InstalledManifestHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
InstalledManifestHandler 获取插件清单 GET /v1/admin/plugins/:name/manifest
func InstalledMiddlewareHandler ¶
func InstalledMiddlewareHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
InstalledMiddlewareHandler 获取插件运行时中间件 GET /v1/admin/plugins/:name/middlewares
func InstalledReloadAllHandler ¶
func InstalledReloadAllHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
InstalledReloadAllHandler 重新扫描并加载所有插件 POST /v1/admin/plugins/reload-all
func InstalledRoutesHandler ¶
func InstalledRoutesHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
InstalledRoutesHandler 获取插件运行时路由 GET /v1/admin/plugins/:name/routes
func InstalledUploadHandler ¶
func InstalledUploadHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
InstalledUploadHandler 上传并安装插件 zip 包 POST /v1/admin/plugins/upload
func InstalledValidateHandler ¶
func InstalledValidateHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
InstalledValidateHandler 校验插件目录和 WASM POST /v1/admin/plugins/:name/validate
func ListHandler ¶
func ListHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
ListHandler 获取插件列表 GET /v1/admin/plugin/list
func ReloadHandler ¶
func ReloadHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
ReloadHandler 重载插件 POST /v1/admin/plugin/reload 停止并重新加载指定插件
Types ¶
This section is empty.