Documentation ¶
Overview ¶
Package redis for cache provider
depend on github.com/gomodule/redigo/redis
go install github.com/gomodule/redigo/redis
Usage: import(
_ "github.com/W3-Engineers-Ltd/Radiant/client/cache/redis" "github.com/W3-Engineers-Ltd/Radiant/client/cache"
)
bm, err := cache.NewCache("redis", `{"conn":"127.0.0.1:11211"}`) more docs http://radiant.me/docs/module/cache.md
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKey = "radicalcacheRedis"
DefaultKey the collection name of redis for cache adapter.
Functions ¶
func NewRedisCache ¶
NewRedisCache create new redis cache with default collection name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.