Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server PostgreSQL Process }
Config is the configuration for the application
type PostgreSQL ¶
type PostgreSQL struct { Driver string `env:"DB_DRIVER" envDefault:"postgres"` Host string `env:"DB_HOST" envDefault:"localhost"` Port string `env:"DB_PORT" envDefault:"5432"` Database string `env:"DB_DATABASE" envDefault:"enlabs_test_service"` Username string `env:"DB_USERNAME" envDefault:"enlabs_test_service"` Password string `env:"DB_PASSWORD" envDefault:"enlabs_test_service"` SSLMode string `env:"DB_SSLMODE" envDefault:"disable"` MaxConnAttempts string `env:"DB_MAX_CONN_ATTEMPTS" envDefault:"5"` }
PostgreSQL is the configuration for the database
Click to show internal directories.
Click to hide internal directories.