Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFilenames ¶
type ConfigFilenames []string
func (*ConfigFilenames) Set ¶
func (f *ConfigFilenames) Set(value string) error
func (*ConfigFilenames) String ¶
func (f *ConfigFilenames) String() string
type Configuration ¶
type Configuration struct {
Database dbutil.Config `yaml:"database"`
DevMode bool `yaml:"dev_mode"`
Domain string `yaml:"domain"`
MailjetAPIKey string `yaml:"mailjet_api_key"`
MailjetSecretKey string `yaml:"mailjet_secret_key"`
HealthcheckURL string `yaml:"healthcheck_url"`
HostedByHTML template.HTML `yaml:"hosted_by_html"`
RegistrationEnabled bool `yaml:"registration_enabled"`
JWTSecretKeyFile string `yaml:"jwt_secret_key_file"`
JWTSecretKey string `yaml:"jwt_secret_key"`
Recaptcha RecaptchaConfig `yaml:"recaptcha"`
Logging zeroconfig.Config `yaml:"logging"`
// contains filtered or unexported fields
}
func (*Configuration) ReadSecretKey ¶
func (c *Configuration) ReadSecretKey() []byte
type RecaptchaConfig ¶
Click to show internal directories.
Click to hide internal directories.