Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type DB ¶
type DB struct { PostgresDSN string `` /* 131-byte string literal not displayed */ DabataseName string `env:"DB_NAME,required" envDefault:"bdaytracker"` MigrationPath string `env:"DB_MIGRATION_PATH" envDefault:"./migrations"` MaxOpenConnections int `env:"DB_MAX_OPEN_CONNECTIONS" envDefault:"10"` MaxIdleConnections int `env:"DB_MAX_IDLE_CONNECTIONS" envDefault:"5"` MaxConnectionLifetime time.Duration `env:"DB_MAX_CONNECTION_LIFETIME" envDefault:"5m"` }
Click to show internal directories.
Click to hide internal directories.