mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 20:50:55 +00:00
14c1b76569
remove build directory; remove githook directory;
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)
|
|
}
|