Versions in this module Expand all Collapse all v1 v1.0.0 May 26, 2016 Changes in this version + type Counter struct + func NewCounter(pool Pool, pfx string, w, s time.Duration) *Counter + func (c *Counter) Count(id string) (int64, error) + func (c *Counter) Inc(id string) error + func (c *Counter) Reset(id string) error + type Limiter struct + func NewLimiter(pool Pool, pfx string, w, s time.Duration, n int64) *Limiter + func (l *Limiter) Exceeded(id string) (bool, error) + func (l *Limiter) Remaining(id string) (int64, error) + type Pool interface + Get func() redis.Conn Incompatible versions in this module v2.1.0+incompatible May 28, 2016 v2.0.0+incompatible May 27, 2016