Documentation
¶
Overview ¶
Library for configuring PostgreSQL connection pool
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DbPool *pgxpool.Pool
Postgres connection pool https://pkg.go.dev/github.com/jackc/pgx/v5@v5.10.0/pgxpool#Pool
Functions ¶
func Config ¶
func Config() error
Configures the connection and connects to a PostgreSQL database. Uses variable PG_CONN_STRING that should be in the format specified here: https://pkg.go.dev/github.com/jackc/pgx/v5@v5.10.0/pgxpool#ParseConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.