Muxie is a modern, fast and light HTTP multiplexer for Go. Fully compatible with the http.Handler interface. Written for everyone.
Add example for custom writers: https://github.com/kataras/muxie/blob/master/_examples/13_custom_responsewriter/main.go
Fix #9
Add muxie.Methods().NoContent(http.MethodOptions)
to and https://github.com/kataras/muxie/tree/master/_examples/11_cors
Changes: https://github.com/kataras/muxie/compare/v1.0.6...v1
muxie.ResponseWriter
completes the http.ResponseWriter
and it is params setter/getter that end-devs can wrap to make compatible custom http response writers without losing the path parameters features.fix root wildcard but no '/' registered but requested and add mime.go for muxie.TypeByExtension
and muxie.TypeByFilename
Changes: https://github.com/kataras/muxie/compare/v1.0.3...v1.0.4
In short: Add support for fitlered request handlers, request_handler.go. See Mux#HandleRequest
, muxie.Host
Matcher and take a look at the example: https://github.com/kataras/muxie/tree/master/_examples/9_subdomains_and_matchers.
Changes: https://github.com/kataras/muxie/compare/v1.0.2...v1.0.3
In short: Add request_processor.go, see muxie.JSON/XML
and read /_examples/8_bind_req_send_resp.
Also: Allow more than one methods to be passed on muxie.Methods().Handle/HandleFunc
to register the same handler for specific methods.