Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Postgres ¶
type Postgres struct { Host string `env:"DB_HOST" env-default:"localhost"` DB_port string `env:"DB_PORT" env-default:"5432"` Username string `env:"POSTGRES_USER" env-default:"root"` Password string `env:"POSTGRES_PASSWORD" env-default:"postgres"` DBName string `env:"DB_NAME" env-default:"chat"` SSLMode string `env:"SSL_MODE" env-default:"disable"` }
Click to show internal directories.
Click to hide internal directories.