redis

package
v0.0.0-...-b703a9f Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNil = errors.New("(nil)")

ErrNil indicates that a reply value is nil.

Functions

This section is empty.

Types

type Redis

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

Redis describes connection to Redis server

func New

func New(ctx context.Context, redisServer string) (*Redis, error)

New returns the initialized Redis object

func (*Redis) Ping

func (c *Redis) Ping() error

Ping checks if connection exists

Jump to

Keyboard shortcuts

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