Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OnChange func()
OnChange is called when a config change is detected, can be set during runtime
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel string Replicas int Kube struct { Namespace string Oauthsecret string } RateLimit struct { Join int64 Auth int64 Reset time.Duration Redis struct { Username string Password string Database int Sentinel bool Addresses []string Master string } } Twitch struct { User string Oauth string } Mongo struct { ConnectionString string Database string Collection string Username string Password string } Nats struct { URL string Stream string Topic struct { Raw string Api string } } Health struct { Enabled bool Port string } Prometheus struct { Enabled bool Port string } }
Click to show internal directories.
Click to hide internal directories.