redisserver

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package redisserver is package for starting a redis test server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v0.33.2

type Server interface {
	Addr() string
	Close() error
}

Server represents a redis server.

func Mini

func Mini() (Server, error)

Mini starts miniredis server

func Process

func Process() (Server, error)

Process starts a redis-server test process

func Start

func Start() (Server, error)

Start starts a redis-server when available, otherwise falls back to miniredis

Jump to

Keyboard shortcuts

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