redis

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package redis provides a redis container for testing purposes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	Client  *redis.Client
	Address string // host:port
	Host    string // host only
	Port    string // port only
}

Instance represents a Redis instance.

func NewInstance

func NewInstance() (*Instance, func(), error)

NewInstance creates a new Redis instance.

Jump to

Keyboard shortcuts

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