gin-timeout
Timeout Middleware for Gin framework (by vearne)
timeout
Timeout middleware for Gin (by gin-contrib)
Our great sponsors
gin-timeout | timeout | |
---|---|---|
1 | 1 | |
105 | 172 | |
- | 4.1% | |
3.2 | 7.3 | |
5 days ago | about 1 month ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
gin-timeout
Posts with mentions or reviews of gin-timeout.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-11.
-
13 - Gin Handler Timeout Middleware
Since getting a timeout handler middleware to work as I would like would require modifying any of the available handlers, I decided it would just be easier to create our own, even if I'm borrowing heavily from http.TimeoutHandler and vearne/gin-timeout.
timeout
Posts with mentions or reviews of timeout.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-11.
-
13 - Gin Handler Timeout Middleware
The second middleware I found was gin-contrib/timeout. Note that this repository of middlewares is not the official one by gin-gonic, gin-gonic/contrib, even though it has a similar name. This middleware had issues trying to rewrite headers to a response writer, which we'll discuss when we write our middleware.
What are some alternatives?
When comparing gin-timeout and timeout you can also consider the following projects:
go-simple-mail - Golang package for send email. Support keep alive connection, TLS and SSL. Easy for bulk SMTP.
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.
gin-swagger - gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
Ginrpc - gin auto binding,grpc, and annotated route,gin 注解路由, grpc,自动参数绑定工具
gollback - Go asynchronous simple function utilities, for managing execution of closures and callbacks