Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisRateLimiter ¶
type RedisRateLimiter struct {
// contains filtered or unexported fields
}
func NewRedisRateLimiter ¶
func NewRedisRateLimiter(url string, secWindow int64) (*RedisRateLimiter, error)
func (*RedisRateLimiter) Info ¶
func (r *RedisRateLimiter) Info(pr string) string
Click to show internal directories.
Click to hide internal directories.