ServeHTTP is the main router handler which calls the .Serve and acquires a new context from the pool. It is ready to use after Build state.
(w http.ResponseWriter, r *http.Request)
| 66 | // |
| 67 | // It is ready to use after Build state. |
| 68 | ServeHTTP(w http.ResponseWriter, r *http.Request) |
| 69 | |
| 70 | // Shutdown gracefully terminates all the application's server hosts and any tunnels. |
| 71 | // Returns an error on the first failure, otherwise nil. |
no outgoing calls