redis

package
v0.0.0-...-1a1a9c1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is a helper around reading and writing to redis-example-app endpoints

func NewApp

func NewApp(uri string, timeout, retryInterval time.Duration) *App

New is the correct way to create a redis.App

func (*App) IsRunning

func (app *App) IsRunning() func()

IsRunning pings the App

func (*App) ReadAssert

func (app *App) ReadAssert(key, expectedValue string) func()

ReadAssert checks that the value for the given key matches expected

func (*App) Write

func (app *App) Write(key, value string) func()

Jump to

Keyboard shortcuts

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