beego: Index | Files

package redis

import ""

Package redis for cache provider

depend on

go install

Usage: import(

_ ""


bm, err := cache.NewCache("redis", `{"conn":""}`)

more docs


Package Files



var (
    // DefaultKey the collection name of redis for cache adapter.
    DefaultKey = "beecacheRedis"

func NewRedisCache Uses

func NewRedisCache() cache.Cache

NewRedisCache create new redis cache with default collection name.

Package redis imports 2 packages (graph). Updated 2020-11-07. Refresh now. Tools for package owners.