github.com/go-redis/redis_rate/v9.Limiter.Allow (method)

2 uses

	github.com/go-redis/redis_rate/v9 (current package)
		rate.go#L86: func (l Limiter) Allow(ctx context.Context, key string, limit Limit) (*Result, error) {

	golang.org/x/pkgsite/internal/middleware
		quota.go#L117: 	res, err := rrate.NewLimiter(client.WithTimeout(15*time.Millisecond)).Allow(ctx, rrateKey, rrate.PerSecond(qps))