Versions in this module Expand all Collapse all v2 v2.0.5 Feb 19, 2024 v2.0.4 Feb 16, 2024 Changes in this version + const Namespace + var ErrNoExtraCfg = errors.New("no extra config") + var ErrWrongExtraCfg = errors.New("wrong extra config") + var ZeroCfg = Config + type Config struct + Capacity int64 + ClientCapacity int64 + ClientMaxRate float64 + Key string + MaxRate float64 + Strategy string + func ConfigGetter(e config.ExtraConfig) (Config, error)