mirror of
https://github.com/astaxie/beego.git
synced 2025-01-10 11:17:28 +00:00
debd68cbe4
This reverts commit fad897346f286303a6c4a2cb432ea44058e470cd, reversing changes made to e284b0ddae072311617a6fdd8393eb04aba873d2.
16 lines
315 B
Go
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)
|
|
}
|