integration

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostgresEnv

func PostgresEnv() (database string, host string, user string, password string, port string)

We expect a Postgres database to be running for integration tests, and that environment variables are appropriately configured to permit access.

func StartPgBouncer

func StartPgBouncer(database, user, password, port, poolMode string) (bouncer *pgbouncer.PgBouncer, cleanup func())

StartPgBouncer spins up a new PgBouncer instance in a temporary directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL