Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseValues ¶
type DatabaseValues struct { DBHost string `toml:"host"` DBPort int `toml:"port"` DBName string `toml:"name"` DBUser string `toml:"user"` DBPass string `toml:"pass"` DBDisableSSLMode string `toml:"disable_ssl_mode"` DBMaxIdleConns int `toml:"max_idle_conns"` DBMaxOpenConns int `toml:"max_open_conns"` DBMaxLifetime time.Duration `toml:"max_lifetime"` }
type EnvVarParser ¶
type EnvVarParser struct {
// contains filtered or unexported fields
}
func NewEnvVarParser ¶
func NewEnvVarParser(prefix string) *EnvVarParser
type FiberValues ¶
type FiberValues struct { ApiStrictRouting bool `toml:"string_routing"` ApiCaseSensitive bool `toml:"case_sensitive"` ApiImmutable bool `toml:"immutable"` ApiDisableStartupMessage bool `toml:"disable_startup_msg"` ApiTimezone string `toml:"timezone"` ApiEnableStackTrace bool `toml:"enable_stack_trace"` }
type SupervisorValues ¶
type SupervisorValues struct {
DelayMonitor int `toml:"delay_monitor"`
}
type TomlParser ¶
type TomlParser struct {
// contains filtered or unexported fields
}
func NewTomlParser ¶
func NewTomlParser(path string) *TomlParser
type TomlValues ¶
type TomlValues struct { Port int Supervisor SupervisorValues Fiber FiberValues Database DatabaseValues }
Click to show internal directories.
Click to hide internal directories.