Documentation ¶
Index ¶
- func NewMongo(pool *dockertest.Pool) (*mongoDocker, error)
- func NewMySQL(pool *dockertest.Pool) (*mySQL, error)
- func NewPG(pool *dockertest.Pool) (*pgDocker, error)
- func NewRedis(pool *dockertest.Pool) (*redisDocker, error)
- func PrepareMongoDB(t *testing.T) (db *mongo.Database, teardown func() error)
- func PrepareMySQLDB(t *testing.T) (db *sql.DB, teardown func() error)
- func PreparePostgresDB(t *testing.T) (db *sql.DB, teardown func() error)
- func PrepareRedisDB(t *testing.T, db int) (cli *redis.Client, teardown func() error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMongo ¶
func NewMongo(pool *dockertest.Pool) (*mongoDocker, error)
func NewMySQL ¶
func NewMySQL(pool *dockertest.Pool) (*mySQL, error)
func NewPG ¶
func NewPG(pool *dockertest.Pool) (*pgDocker, error)
func NewRedis ¶
func NewRedis(pool *dockertest.Pool) (*redisDocker, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.