Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultPostgresConn is a connstring that works with docker-compose DefaultPostgresConn = "postgres://storj:storj-pass@test-postgres/teststorj?sslmode=disable" // DefaultSqliteConn is a connstring that is inmemory DefaultSqliteConn = "sqlite3://file::memory:?mode=memory" )
Variables ¶
View Source
var ( // TestPostgres is flag for the postgres test database TestPostgres = flag.String("postgres-test-db", os.Getenv("STORJ_POSTGRES_TEST"), "PostgreSQL test database connection string") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.