Router registers routes to be matched and dispatches a handler. It implements the http.Handler interface, so it can be registered to serve requests: var router = mux.NewRouter() func main() { http.Handle("/", router) } This will send all incoming requests to the router.
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected