cache

package
v0.0.0-...-79cb864 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConn     = "127.0.0.1:6379" // redis conn addr info
	DefaultDbNum    = "0"              // default conn redis DB number
	DefaultPassword = ""               // conn redis password
)

Functions

func RedisCache

func RedisCache(key string, s ...string) (cache.Cache, error)

RedisCache create a redis cache adapter

func RedisCacheForSession

func RedisCacheForSession() cache.Cache

RedisCacheForSession

Types

This section is empty.

Jump to

Keyboard shortcuts

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