github.com/pierreprinetti/go-methodmux (go): Package methodmux provides a method-aware HTTP router based on net/http.  Example usage:  Methodmux exposes a single type: `ServeMux`. `ServeMux` holds a separate `http.ServeMux` for every HTTP verb an http.Handler has been registered to.  Every new request will be matched against the underlying `http.ServeMux` that corresponds to the HTTP method of the request. If no match is found, `ServeMux` will look for a match in the other HTTP verbs. If a match is found, an HTTP code 405 "Method Not Allowed" is returned. If not, an HTTP code 404 "Not Found" is returned.  Methodmux has been written with readability in mind and is just as fast and efficient as `net/http` is.
Keywords: http|http-method|mux|server