Versions in this module Expand all Collapse all v0 v0.6.3 May 27, 2021 v0.6.2 Jan 28, 2021 Changes in this version + type BBR struct + func (l *BBR) Allow(ctx context.Context, opts ...limit.AllowOption) (func(info limit.DoneInfo), error) + func (l *BBR) Stat() Stat + type Config struct + CPUThreshold int64 + Debug bool + Enabled bool + Rule string + WinBucket int + Window time.Duration + type Group struct + func NewGroup(conf *Config) *Group + func (g *Group) Get(key string) limit.Limiter + type Stat struct + Cpu int64 + InFlight int64 + MaxInFlight int64 + MaxPass int64 + MinRt int64