redis

package
v0.0.0-...-4df811a Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRedis

type IRedis interface {
	Read(key string, value *string) IRedis
	Write(key string, value string) IRedis
	Delete(key string) IRedis
}

type Redis

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

func NewRedis

func NewRedis() *Redis

func (*Redis) Delete

func (r *Redis) Delete(key string) IRedis

func (*Redis) Err

func (r *Redis) Err() error

func (*Redis) Read

func (r *Redis) Read(key string, value *string) IRedis

func (*Redis) SetupFixtures

func (r *Redis) SetupFixtures(_ map[string]string)

For tests only, this is a no-op

func (*Redis) Write

func (r *Redis) Write(key string, value string) IRedis

Jump to

Keyboard shortcuts

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