limiter
limiter copied to clipboard
Dead simple rate limit middleware for Go.
Currently, while using `github.com/ulule/limiter` it doesn't download `gin`, `redis` or even `fasthttp` if you doesn't use it. It bothers me that these libraries are exported to the `go.sum` of a...
I want to rate limit my API's login endpoint thusly: max 1 request per second, max 5 requests per hour, max 10 requests per day. I have implemented it like...
## Overview It'd be nice if this library supported a way for `http.Client` outgoing requests to utilizing `limiter.Limit` to rate limit based on configured API rate limits useful for things...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp) from 1.50.0 to 1.56.0. Release notes Sourced from github.com/valyala/fasthttp's releases. v1.56.0 What's Changed fix: add timeout to proxy connection reading and writing by @Sniper91 in valyala/fasthttp#1791 Validate header...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0. Release notes Sourced from github.com/stretchr/testify's releases. v1.9.0 What's Changed Fix Go modules version by @SuperQ in stretchr/testify#1394 Document that require is not safe to...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.1 to 1.10.0. Release notes Sourced from github.com/gin-gonic/gin's releases. v1.10.0 Changelog Features 5f458dd1a6d631f324e4af9a4f5429ffdf199342: feat(auth): add proxy-server authentication (#3877) (@EndlessParadox1) 7a865dcf1dbe6ec52e074b1ddce830d278eb72cf: feat(bind): ShouldBindBodyWith shortcut and change doc (#3871)...