redis

package
v0.0.0-...-ff63965 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Pool *redis.Pool
)

Functions

func Delete

func Delete(key string) error

func Exists

func Exists(key string) (bool, error)

func Get

func Get(key string) ([]byte, error)

func GetKeys

func GetKeys(pattern string) ([]string, error)

func Incr

func Incr(counterKey string) (int, error)

func InitService

func InitService(host string)

func Ping

func Ping() error

func Set

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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