MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / refreshPluginManagementRoutes

Method refreshPluginManagementRoutes

internal/api/server.go:788–793  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

786}
787
788func (s *Server) refreshPluginManagementRoutes() {
789 if s == nil || s.pluginHost == nil || s.engine == nil {
790 return
791 }
792 s.pluginHost.RegisterManagementRoutes(context.Background(), s.registeredManagementRouteKeys())
793}
794
795// RefreshPluginManagementRoutes rebuilds plugin-owned Management API routes.
796func (s *Server) RefreshPluginManagementRoutes() {

Callers 3

NewServerFunction · 0.95
UpdateClientsMethod · 0.95

Tested by

no test coverage detected