Documentation
¶
Index ¶
Constants ¶
View Source
const ( Development = "development" Test = "test" Production = "production" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶ added in v0.3.0
type Config ¶
type Config struct {
AppName string
AppEnv string
HTTPAddr string
HTTPReadTimeout time.Duration
HTTPWriteTimeout time.Duration
HTTPIdleTimeout time.Duration
HTTPShutdownTimeout time.Duration
LogLevel string
Database DatabaseConfig
MigrationsDir string
MigrationsRunOnStartup bool
CORSAllowedOrigins []string
Auth AuthConfig
}
func (Config) MigrationURLRequired ¶
func (Config) ValidateAuthRuntime ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.