mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 08:40:57 +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)
|
|
}
|