We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At any point if we want to clear data (that is created and used by rate_limit) from redis, how to do it?
something like :
rateLimiter.Clear("key") or rateLimiter.Flush()
rateLimiter.Clear("key")
rateLimiter.Flush()
The text was updated successfully, but these errors were encountered:
@chetan-codehub, I suppose it should be like this:
rateLimiter := redis_rate.NewLimiter(rdb) ctx := context.Background() err := rateLimiter.Reset(ctx, "key")
Sorry, something went wrong.
No branches or pull requests
At any point if we want to clear data (that is created and used by rate_limit) from redis, how to do it?
something like :
rateLimiter.Clear("key")
orrateLimiter.Flush()
The text was updated successfully, but these errors were encountered: