Versions in this module Expand all Collapse all v0 v0.1.1 Mar 8, 2021 v0.1.0 Mar 8, 2021 Changes in this version + type Config struct + Duration time.Duration + Endpoint string + Password string + type RateLimiter interface + Limit func(ctx context.Context, key string, max int64) (bool, error) + func NewRateLimiter(ctx context.Context, conf *Config) (RateLimiter, error)