redis

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 5 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
}

Redis contains the configuration for the redis resource

func New

func New(cfg *config.Resource) (*Redis, error)

func (*Redis) Close

func (r *Redis) Close() error

func (*Redis) Exists

func (r *Redis) Exists(key string) (bool, error)

func (*Redis) Get

func (r *Redis) Get(key string) (string, error)

func (*Redis) Open

func (r *Redis) Open() error

func (*Redis) Ready

func (r *Redis) Ready() error

func (*Redis) Reset

func (r *Redis) Reset() error

func (*Redis) Set

func (r *Redis) Set(key string, value string) error

Jump to

Keyboard shortcuts

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