redis

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildContainerConfig

func BuildContainerConfig(config RedisConfig) (*docker.ContainerConfig, error)

Types

type Component

type Component struct {
	Container docker.Container
	// contains filtered or unexported fields
}

func New

func New(cli *docker.Docker, config RedisConfig) (*Component, error)

func (*Component) Start

func (c *Component) Start(ctx context.Context) error

func (*Component) Stop

func (c *Component) Stop(ctx context.Context) error

type RedisConfig

type RedisConfig struct {
	Password string
	Port     string
}

Jump to

Keyboard shortcuts

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