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