redistest

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2016 License: Apache-2.0, AGPL-3.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package redistest contains utilities for writing Redigo tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial() (redis.Conn, error)

Dial dials the local Redis server and selects database 9. To prevent stomping on real data, DialTestDB fails if database 9 contains data. The returned connection flushes database 9 on close.

Types

This section is empty.

Jump to

Keyboard shortcuts

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