Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Database DatabaseConfig `yaml:"database"` HTTP HTTPConfig `yaml:"http"` Logging LoggerConfig `yaml:"logging"` JWT JWTConfig `yaml:"jwt"` Email EmailConfig `yaml:"email"` }
Config struct holds the application configuration
type DatabaseConfig ¶
type DatabaseConfig struct { Host string `yaml:"host"` Port int `yaml:"port"` User string `yaml:"user"` Password string `yaml:"password"` DBName string `yaml:"dbname"` SSLMode string `yaml:"sslmode"` MaxIdleConns int `yaml:"max_idle_conns"` MaxOpenConns int `yaml:"max_open_conns"` ConnMaxLifetime time.Duration `yaml:"conn_max_life_time"` }
type EmailConfig ¶
type HTTPConfig ¶
Click to show internal directories.
Click to hide internal directories.