# Functions
ExecuteMigrationScript executes the migration script specified by fname within transaction tx.
New opens connection and creates schema.
NewDB creates pgengine instance for already opened database connection, allowing to bypass a parameters based credentials.
NewHook creates a LogHook to be added to an instance of logger.
# Constants
InvalidOid specifies value for non-existent objects.
WaitTime specifies amount of time in seconds to wait before reconnecting to DB.
# Variables
Migrations holds function returning all updgrade migrations needed.
NotifyTTL specifies how long processed NOTIFY messages should be stored.
# Structs
Chain structure used to represent tasks chains.
ChainSignal used to hold asynchronous notifications from PostgreSQL server.
ChainTask structure describes each chain task.
IntervalChain structure used to represent repeated chains.
LogHook is the implementation of the logrus hook for pgx.
PgEngine is responsible for every database-related action.
# Interfaces
PgxConnIface is interface representing pgx connection.
PgxIface is common interface for every pgx class.
PgxPoolIface is interface representing pgx pool.
QueryRowIface specifies interface to use QueryRow method.