redis

package
v0.0.0-...-a021f40 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

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

func New

func New(address, password string) *Redis

func (*Redis) Delete

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

func (*Redis) Init

func (r *Redis) Init(...store.Option) error

func (*Redis) List

func (r *Redis) List() ([]*store.Record, error)

func (*Redis) Read

func (r *Redis) Read(key string, opts ...store.ReadOption) ([]*store.Record, error)

func (*Redis) String

func (r *Redis) String() string

func (*Redis) Write

func (r *Redis) Write(record *store.Record) error

Jump to

Keyboard shortcuts

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