timeout
Timeout middleware for Gin (by gin-contrib)
gin-timeout
Timeout Middleware for Gin framework (by vearne)
timeout | gin-timeout | |
---|---|---|
1 | 1 | |
172 | 105 | |
1.7% | - | |
7.2 | 3.2 | |
3 days ago | 21 days 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.
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.
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.
What are some alternatives?
When comparing timeout and gin-timeout you can also consider the following projects:
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-simple-mail - Golang package for send email. Support keep alive connection, TLS and SSL. Easy for bulk SMTP.
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