Versions in this module Expand all Collapse all v0 v0.0.4 Jun 20, 2018 Changes in this version + func NewRateLimit(conf *viper.Viper) (RateType.RateLimiter, error) + type RateLimit struct + func (r *RateLimit) Burst() int + func (r *RateLimit) Limit() float64 + func (r *RateLimit) LoadRateLimit() error + func (r *RateLimit) WaitToken() bool