Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AppName string Version string AutoSSLEmail string `flag:"autosslemail" env:"AUTO_SSL_EMAIL" default:"" description:"Email address to use for Lets Encrypt"` AutoSSLWhitelist string `flag:"autosslwhitelist" env:"AUTO_SSL_WHITELIST" default:"" description:"Comma-seperated list of domains for SSL"` DSN string `` /* 161-byte string literal not displayed */ LogLevel string `flag:"loglevel" env:"LOG_LEVEL" default:"info" description:"Minimum log level to report"` ServerHost string `flag:"serverhost" env:"SERVER_HOST" default:"localhost:8080" description:"Host and port to bind to"` GoogleClientID string `flag:"googleclientid" env:"GOOGLE_CLIENT_ID" default:"" description:"Google OAuth2 client ID"` GoogleClientSecret string `flag:"googleclientsecret" env:"GOOGLE_CLIENT_SECRET" default:"" description:"Google OAuth2 client secret"` GoogleRedirectURI string `` /* 144-byte string literal not displayed */ }
func (*Config) GetLogLevel ¶
Click to show internal directories.
Click to hide internal directories.