package
Version:
v0.0.0-...-5346417
Opens a new window with list of versions in this module.
Published: Jul 4, 2024
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewClient creates a redis client connected to the redis instance in docker.
type Option interface {
}
type Redis struct {
dockertest.DockerItemGenerator
ImageName string
ContainerPort nat.Port
}
func New(generator dockertest.DockerItemGenerator, opts ...Option) *Redis
RunInDocker runs the tests with
a redis instance in a docker container.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.