# Functions
ConnectPGX initializes and returns a PGX connection pool.
ConnectPGXDriver returns a new pgx driver it initializes the connection pool and creates the node info table.
ConnectSQLX initializes and returns a SQLX connection pool for postgres.
ConnectSQLXDriver returns a new sqlx driver for Postgres it initializes the connection pool and creates the node info table.
No description provided by the author
No description provided by the author
MakeConfig creates a pgxpool.Config from the provided Config.
No description provided by the author
No description provided by the author
NewPostgresDB returns a postgres.DB using the provided driver.
No description provided by the author
ResolveDriverType resolves a DriverType from a provided string.
SetupPGXDB is used to setup a pgx db for tests.
SetupSQLXDB is used to setup a sqlx db for tests.
# Constants
Env variables.
Env variables.
Env variables.
Env variables.
Env variables.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
TestConfig specifies default parameters for connecting to a testing DB.
# Structs
Config holds params for a Postgres db.
DB implements sql.Database using a configured driver and Postgres statement syntax.
No description provided by the author
PGXDriver driver, implements sql.Driver.
SQLXDriver driver, implements sql.Driver.
# Type aliases
DriverType to explicitly type the kind of sql driver we are using.