Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig() error
Types ¶
type Config ¶
type Config struct { DBConnectionString string `default:"file:grack.db?_fk=1" split_words:"true"` BindAddr string `default:":8081" split_words:"true"` JwtSigningSecret string `default:"grack" split_words:"true"` GithubClientId string `default:"" split_words:"true"` GithubClientSecret string `default:"" split_words:"true"` DiscordClientId string `default:"" split_words:"true"` DiscordClientSecret string `default:"" split_words:"true"` DiscordCallbackUrl string `default:"http://localhost:8081/oauth/discord/callback" split_words:"true"` DevelopmentMode bool `default:"false" split_words:"true"` }
var AppConfig Config
Click to show internal directories.
Click to hide internal directories.