Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBConfig ¶
type DBConfig struct { Uri string `env:"DB_URI" mapstructure:"DB_URI" envDefault:""` Type string `env:"DB_TYPE" mapstructure:"DB_TYPE" envDefault:"postgres"` Host string `env:"DB_HOST" mapstructure:"DB_HOST" envDefault:"localhost"` Port int `env:"DB_PORT" mapstructure:"DB_PORT" envDefault:"5432"` DbName string `env:"DB_NAME" mapstructure:"DB_NAME" envDefault:"postgres"` UserName string `env:"DB_USER" mapstructure:"DB_USER" envDefault:"postgres"` Password string `env:"DB_PASSWORD" mapstructure:"DB_PASSWORD" envDefault:"postgres"` SslMode string `env:"DB_SSL_MODE" mapstructure:"DB_SSL_MODE" envDefault:"disable"` }
Click to show internal directories.
Click to hide internal directories.