package config import "linkfog.com/public/pkg/ratelimit" var c Config type Config struct { RateLimitBucket *ratelimit.Bucket EnableRateLimitBucket bool } func Set(config Config) { c = config } func RateLimitBucket() *ratelimit.Bucket { return c.RateLimitBucket } func EnableRateLimitBucket() bool { return c.EnableRateLimitBucket }