MCPcopy
hub / github.com/fish2018/pansou / RegisterWebRoutes

Method RegisterWebRoutes

plugin/plugin.go:52–52  ·  view source on GitHub ↗

继承搜索插件接口 RegisterWebRoutes 注册Web路由 router: gin的路由组,插件可以在此注册自己的路由

(router *gin.RouterGroup)

Source from the content-addressed store, hash-verified

50 // RegisterWebRoutes 注册Web路由
51 // router: gin的路由组,插件可以在此注册自己的路由
52 RegisterWebRoutes(router *gin.RouterGroup)
53}
54
55// ============================================================

Callers 1

SetupRouterFunction · 0.65

Implementers 2

GyingPluginplugin/gying/gying.go
QQPDPluginplugin/qqpd/qqpd.go

Calls

no outgoing calls

Tested by

no test coverage detected