Muxie is a modern, fast and light HTTP multiplexer for Go. Fully compatible with the http.Handler interface. Written for everyone.
MIT License
Last updated on October 17, 2018. Click here to read more details.
30kb
, Muxie is a tiny little library without external dependenciesnet/http
standard package:name
and wildcards with *name
, can play all together for the same path prefix|suffix)*
Pre(handlers).For(mainHandler)
for individual routes and Mux#Use
for router)*
muxie.Methods()
)*
Mux#HandleRequest
and Mux#AddRequestHandler
for muxie.Matcher
and muxie.RequestHandler
)muxie.Host
Matcher)*
muxie.Bind
and muxie.Dispatch
)*
Interested? Want to learn more about this library? Check out our tiny examples and the simple godocs page.
The only requirement is the Go Programming Language
$ go get -u github.com/kataras/muxie