gocraft/web
mux
gocraft/web | mux | |
---|---|---|
2 | 1 | |
1,508 | 486 | |
0.0% | 0.0% | |
0.0 | 10.0 | |
over 3 years ago | over 6 years ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gocraft/web
-
Implemented a bench marker to compare Go's HTTP Router
gocraft/web
-
Why not custom Context type ?
I was using a custom context type before introduction of Context in the stdlib. I was inspired by https://github.com/gocraft/web . Of course i call it ctx Context... And pass it to each handlers and so on. It works, i've no issue with this since years.
mux
What are some alternatives?
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
go-router-benchmark - Benchmark tests for http router implemented in golang.
CORS - Go net/http configurable handler to handle CORS requests
httptreemux - High-speed, flexible tree-based HTTP router for Go.
chi - lightweight, idiomatic and composable router for building Go HTTP services
bon - Go http router
Echo - High performance, minimalist Go web framework
denco - The fast and flexible HTTP request router for Go
Revel - A high productivity, full-stack web framework for the Go language.
Iris - The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
GoRouter - Go Server/API micro framework, HTTP request router, multiplexer, mux