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.
Click to show internal directories.
Click to hide internal directories.