source

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: BSD-3-Clause Imports: 1 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 NewRedisSource

func NewRedisSource(pool *redis.Pool) *Redis

func (*Redis) Close

func (r *Redis) Close()

func (*Redis) Get

func (r *Redis) Get(key string) ([]byte, error)

func (*Redis) MGet

func (r *Redis) MGet(keys ...string) (map[string][]byte, error)

func (*Redis) Set

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

Jump to

Keyboard shortcuts

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