containers

package
v0.0.0-...-f36358a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DynamoDB

func DynamoDB(t *testing.T) *dynamo.DB

Types

type Postgres

type Postgres struct {
	// contains filtered or unexported fields
}

func NewPostgres

func NewPostgres(t *testing.T) *Postgres

func (*Postgres) DB

func (p *Postgres) DB(t *testing.T) *sql.DB

func (*Postgres) Migrate

func (p *Postgres) Migrate(t *testing.T, fileDir string) *migrate.Migrate

func (*Postgres) SQLX

func (p *Postgres) SQLX(t *testing.T) *sqlx.DB

type Redis

type Redis struct {
	// contains filtered or unexported fields
}

func NewRedis

func NewRedis(t *testing.T) *Redis

func (*Redis) GoRedisCache

func (r *Redis) GoRedisCache() *cache.Cache

func (*Redis) GoRedisClient

func (r *Redis) GoRedisClient() *redis.Client

func (*Redis) Port

func (r *Redis) Port() string

func (*Redis) RedisLock

func (r *Redis) RedisLock() *redislock.Client

func (*Redis) RedisRate

func (r *Redis) RedisRate() *redis_rate.Limiter

Jump to

Keyboard shortcuts

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