Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisContainer ¶
type RedisContainer struct {
Container testcontainers.Container
Host string
Port int
}
RedisContainer is a Redis testcontainer
func NewRedisContainer ¶
func NewRedisContainer(ctx context.Context) (*RedisContainer, error)
func (*RedisContainer) Close ¶
func (rc *RedisContainer) Close() error
func (*RedisContainer) URL ¶
func (rc *RedisContainer) URL() string
URL returns redis connection string
Click to show internal directories.
Click to hide internal directories.