go-redis / redis_rate

Rate limiting for go-redis
https://redis.uptrace.dev/guide/go-redis-rate-limiting.html
BSD 2-Clause "Simplified" License
844 stars 101 forks source link

How to retrieve the current state (peek)? #104

Open dzakaammar opened 3 months ago

dzakaammar commented 3 months ago

In the rwz/redis-gcra there is a Peek method to retrieve the current state info. Is it available in this library? Or is there another way to retrieve the current state?