MCPcopy Create free account
hub / github.com/deepflowio/deepflow / RegisterRouters

Method RegisterRouters

server/controller/http/server.go:103–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101}
102
103func (s *Server) RegisterRouters() {
104 for _, i := range s.appendRegistrant() {
105 i.RegisterTo(s.engine)
106 }
107 trouter.RegisterTo(s.engine)
108}
109
110func (s *Server) appendRegistrant() []registrant.Registrant {
111 // contains routers supported in CE and EE

Callers 1

StartFunction · 0.95

Calls 2

appendRegistrantMethod · 0.95
RegisterToMethod · 0.65

Tested by

no test coverage detected