muxchain alternatives and similar packages
Based on the "Libraries for creating HTTP middlewares" category.
Alternatively, view muxchain alternatives based on common mentions on social networks and blogs.
negroni9.5 5.1 muxchain VS negroniIdiomatic HTTP Middleware for Golang
alice8.5 0.0 muxchain VS alicePainless middleware chaining for Go
render8.1 3.1 muxchain VS renderGo package for easily rendering JSON, XML, binary data, and HTML templates responses.
interpose5.8 0.0 muxchain VS interposeMinimalist net/http middleware for golang
gores4.1 0.0 muxchain VS goresGo package that handles HTML, JSON, XML and etc. responses
golax3.9 0.0 muxchain VS golaxGolax, a go implementation for the Lax framework.
chain3.6 0.0 muxchain VS chainComposable chains of nested http.Handler instances.
go-wrap3.3 0.0 muxchain VS go-wrapSmall middlewares package for net/http.
httpware1.2 0.0 muxchain VS httpwareStackable middleware (using net/context) with easy chaining.
catena1.2 0.0 muxchain VS catenagRPC interceptor catenation.
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of muxchain or a related project?
MuxChain is a small package designed to complement net/http for specifying chains of handlers. With it, you can succinctly compose layers of middleware without introducing large dependencies or effectively defeating the type system.
muxchain.Chain("/", logger, gzipHandler, echoHandler) http.ListenAndServe(":8080", muxchain.Default)
This specifies that all patterns matched should be handled by the logger, then gzip, then echo. Since we're chaining to the default MuxChain, we can just pass that to
http.ListenAndServe. You can see a more complete example in the "sample" directory.
BSD 3-clause (see LICENSE file)
*Note that all licence references and agreements mentioned in the muxchain README section above are relevant to that project's source code only.