MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / RootRouter

Method RootRouter

pkg/web/web.go:326–328  ·  view source on GitHub ↗

RootRouter returns the root router. In most cases the Router() should be used instead of the root router.

()

Source from the content-addressed store, hash-verified

324// RootRouter returns the root router.
325// In most cases the Router() should be used instead of the root router.
326func (s *Server) RootRouter() *mux.Router {
327 return s.root
328}
329
330// Router returns the main router.
331func (s *Server) Router() *mux.Router {

Callers 4

initWebMethod · 0.80
StartMethod · 0.80
NewFunction · 0.80
RegisterRoutesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected