redis

package
v0.0.0-...-520fe4f Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseRedis

func CloseRedis(client *redis.Client)

func DelKey

func DelKey(redisClient *redis.Client, key string) error

func GetValue

func GetValue(redisClient *redis.Client, key string) (interface{}, error)

func RedisCacheManager

func RedisCacheManager() *redis.Client

func RedisDirectoryManager

func RedisDirectoryManager() *redis.Client

func SetValue

func SetValue(redisClient *redis.Client, key string, value interface{}) error

func SetValueExpire

func SetValueExpire(redisClient *redis.Client, key string, value interface{}, ex time.Duration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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