Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keys ¶
type Server ¶
type Server struct { Mode string Hostname string Url string Port string ProblemsDir string TemplatesDir string CookieSecret string GoogleAuth struct { Enabled bool `json:"enabled" mapstructure:"enabled"` ClientKey string `json:"client_key" mapstructure:"client_key"` Secret string `json:"secret" mapstructure:"secret"` Callback string `json:"callback" mapstructure:"callback"` } `json:"googleAuth" mapstructure:"googleAuth"` Sendgrid struct { Enabled bool `json:"enabled" mapstructure:"enabled"` ApiKey string `json:"api_key" mapstructure:"api_key"` SenderName string `json:"sender_name" mapstructure:"sender_name"` SenderAddress string `json:"sender_address" mapstructure:"sender_address"` } `json:"sendgrid" mapstructure:"sendgrid"` SMTP struct { Enabled bool `json:"enabled" mapstructure:"enabled"` MailAccount string `json:"mail_account" mapstructure:"mail_account"` MailServerHost string `json:"mail_server" mapstructure:"mail_server"` MailServerPort string `json:"mail_port" mapstructure:"mail_port"` MailAccountPassword string `json:"mail_password" mapstructure:"mail_password"` } `json:"smtp" mapstructure:"smtp"` Database `mapstructure:",squash"` Keys Keys }
Click to show internal directories.
Click to hide internal directories.