cache

package
v0.0.0-...-e7acbab Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RedisCli *redis.Client

Functions

func BuildKeyWithSep

func BuildKeyWithSep(sep string, params ...interface{}) string

func Get

func Get(key string) (val string, err error)

func SetKey

func SetKey(key string, value interface{})

func SetKeyWithTimeout

func SetKeyWithTimeout(key string, value interface{}, timeout time.Duration)

func UnsetKey

func UnsetKey(key string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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