1
0
mirror of https://github.com/astaxie/beego.git synced 2025-01-10 11:17:28 +00:00
Ming Deng debd68cbe4 Revert "Merge pull request #4325 from flycash/revert1"
This reverts commit fad897346f286303a6c4a2cb432ea44058e470cd, reversing
changes made to e284b0ddae072311617a6fdd8393eb04aba873d2.
2020-12-12 21:28:58 +08:00

16 lines
315 B
Go

package ssdb
import (
"github.com/astaxie/beego/adapter/cache"
ssdb2 "github.com/astaxie/beego/client/cache/ssdb"
)
// NewSsdbCache create new ssdb adapter.
func NewSsdbCache() cache.Cache {
return cache.CreateNewToOldCacheAdapter(ssdb2.NewSsdbCache())
}
func init() {
cache.Register("ssdb", NewSsdbCache)
}