We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbb06bf commit 7c59c5fCopy full SHA for 7c59c5f
website/content/middleware/rate-limiter.md
@@ -35,7 +35,7 @@ config := middleware.RateLimiterConfig{
35
ErrorHandler: func(context echo.Context, err error) error {
36
return context.JSON(http.StatusTooManyRequests, nil)
37
},
38
- DenyHandler: func(context echo.Context, identifier string) error {
+ DenyHandler: func(context echo.Context, identifier string,err error) error {
39
return context.JSON(http.StatusForbidden, nil)
40
41
}
0 commit comments