{"repo":"go-redis/redis_rate","free":true,"listed":false,"github":"https://github.com/go-redis/redis_rate","clone":"git clone https://github.com/go-redis/redis_rate.git","description":"Rate limiting for go-redis","language":"Go","stars":1038,"topics":["redis","gcra","rate-limiting","leaky-bucket"],"license":"BSD-2-Clause","category":"databases-storage","readme_excerpt":"Rate limiting for go-redis :heart: Uptrace.dev - distributed traces, logs, and errors in one place This package is based on rwz/redis-gcra and implements GCRA (aka leaky bucket) for rate limiting based on Redis. The code requires Redis version 3.2 or newer since it relies on replicate commands feature. Installation redis rate supports 2 last Go versions and requires a Go version with modules support. So make sure to initialize a Go module: And then install redis rate/v10 (note \\ \\ \\ v10 \\ \\ in the import; omitting it is a popular mistake): Example","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-redis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-redis/redis_rate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}