Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int `default:"8080"` ApiStrictRouting bool `default:"true" split_words:"true"` ApiCaseSensitive bool `default:"true" split_words:"true"` ApiImmutable bool `default:"true" split_words:"true"` ApiDisableStartupMessage bool `default:"false" split_words:"true"` ApiTimezone string `default:"UTC" split_words:"true"` ApiEnableStackTrace bool `default:"true" split_words:"true"` DBHost string `split_words:"true" required:"true"` DBPort int `split_words:"true" required:"true"` DBName string `split_words:"true" required:"true"` DBUser string `split_words:"true" required:"true"` DBPass string `split_words:"true" required:"true"` DBDisableSSLMode string `default:"disable" split_words:"true"` DBMaxIdleConns int `default:"10" split_words:"true"` DBMaxOpenConns int `default:"100" split_words:"true"` DBMaxLifetime time.Duration `default:"1h" split_words:"true"` SupervisorDelayMonitor int `default:"5" split_words:"true"` }
Click to show internal directories.
Click to hide internal directories.