redis

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	tc.ContainerConfig
	Host     string
	Port     int64
	Password string
}

Config ...

func StartRedisContainer

func StartRedisContainer(ctx context.Context, options ContainerOptions) (redisC testcontainers.Container, redisConfig Config, err error)

StartRedisContainer ...

func (Config) ConnectionURI

func (c Config) ConnectionURI() string

ConnectionURI ...

type ContainerOptions

type ContainerOptions struct {
	tc.ContainerOptions
	Password string
}

ContainerOptions ...

Jump to

Keyboard shortcuts

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