Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Config represents a loaded config Config struct { HostName string `koanf:"hostname"` Port int `koanf:"port"` Prefork bool `koanf:"prefork"` RedisURI string `koanf:"redis_uri"` RateLimit struct { Requests int `koanf:"requests"` Duration time.Duration `koanf:"duration"` } `koanf:"ratelimit"` GithubOAuth OAuthConfiguration `koanf:"github_oauth"` DiscordOAuth OAuthConfiguration `koanf:"discord_oauth"` } )
Functions ¶
Types ¶
type OAuthConfiguration ¶
Click to show internal directories.
Click to hide internal directories.