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

Method Router

pkg/web/web.go:331–333  ·  view source on GitHub ↗

Router returns the main router.

()

Source from the content-addressed store, hash-verified

329
330// Router returns the main router.
331func (s *Server) Router() *mux.Router {
332 return s.router
333}
334
335// APIRouter returns the API router.
336func (s *Server) APIRouter() *mux.Router {

Callers 3

TestHTTPFunction · 0.80
StartMethod · 0.80
RegisterRoutesMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestHTTPFunction · 0.64