# Functions
MigrateDown attempts to run down migrations against Postgres.
MigrateDownAll attempts to run all down migrations against Postgres.
MigrateUp attempts to run all up migrations against Postgres.
NewDB is a constructor that returns a new DB instance for the given configuration.
NewMigration creates a new pair of files into which an SQL migration should be written.
Open takes as input a connection string for a DB, and returns either a sqlx.DB instance or an error.
# Structs
Certificate is an internal type used for persisting and reading TLS certificates from Postgres.
Cursor is an internal type used for serializing or parsing page cursors.
DB is a struct that wraps an sqlx.DB instance that exposes some methods to read and write data.
Event is a type used to read encrypted events back from the database.
Page is a struct used to return a page of events.