Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SecretKey string `required:"true"` DBPath string `required:"true"` LogLevel string `default:"warning"` EnableGinLogger bool `default:"false"` Production bool `default:"true"` HeaderAuth bool `default:"false"` DefaultUsername string DefaultPassword string // Controls the "secure" option for a token cookie. SecureCookie bool `default:"true"` Title string `default:"Phoenix"` // Any supported css value, embedded directly into every page. FontFamily string `default:"sans-serif"` }
func (*Config) GetLogLevel ¶
Click to show internal directories.
Click to hide internal directories.