pgtest

package
v0.27.1-rc-crdb Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultConnStr = "postgres://storj:storj-pass@test-postgres/teststorj?sslmode=disable"

DefaultConnStr is expected to work under the storj-test docker-compose instance

View Source
const DefaultCrdbConnStr = "cockroach://root@localhost:26257/master?sslmode=disable"

DefaultCrdbConnStr is expected to work when a local cockroachDB instance is running

Variables

View Source
var ConnStr = flag.String("postgres-test-db", os.Getenv("STORJ_POSTGRES_TEST"), "PostgreSQL test database connection string")

ConnStr is the test database connection string.

View Source
var CrdbConnStr = flag.String("cockroach-test-db", os.Getenv("STORJ_COCKROACH_TEST"), "CockroachDB test database connection string")

CrdbConnStr is the test database connection string for CockroachDB

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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