# Functions

InitContext initializes DB connection by the given config.
New instantiates a DB.
RunMigrationsUp runs migrate-up for the given config.

# Variables

ErrStateNotSynchronized indicates the state database may be empty.

# Structs

Config provide fields to configure the pool.

# Interfaces

DB defines functions that a DB instance should implement.