ServeHTTP implements http.Handler.
(w http.ResponseWriter, r *http.Request)
| 318 | |
| 319 | // ServeHTTP implements http.Handler. |
| 320 | func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { |
| 321 | s.root.ServeHTTP(w, r) |
| 322 | } |
| 323 | |
| 324 | // RootRouter returns the root router. |
| 325 | // In most cases the Router() should be used instead of the root router. |
no outgoing calls