Versions in this module Expand all Collapse all v0 v0.1.3 Nov 21, 2021 v0.1.2 Nov 20, 2021 v0.1.1 Nov 20, 2021 v0.1.0 Nov 17, 2021 Changes in this version + type Bucket struct + CleanInterval time.Duration + Rate int + TTL time.Duration + func GetBucketByRate(rate int) *Bucket + type Config struct + DBType string + Environment EnvType + Host string + Logger *Logger + Port string + PrometheusPort string + RateIP int + RateLogin int + RatePassword int + func Get() *Config + func (c *Config) IsDev() bool + type EnvType string + type Logger struct + File string + Level string