整个包结构重构
This commit is contained in:
Vendored
+31
@@ -0,0 +1,31 @@
|
||||
package cache
|
||||
|
||||
import (
|
||||
. "../common"
|
||||
)
|
||||
|
||||
type HoTimeCache struct {
|
||||
|
||||
//set(key string, value interface{}, time int64)
|
||||
//get(key string) interface{}
|
||||
//delete(key string)
|
||||
dbCache CacheIns
|
||||
redisCache CacheIns
|
||||
memoryCache CacheIns
|
||||
}
|
||||
|
||||
func (this *HoTimeCache) Session(key string, data ...interface{}) *Obj {
|
||||
return nil
|
||||
}
|
||||
func (this *HoTimeCache) Db(key string, data ...interface{}) *Obj {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (this *HoTimeCache) Cache(key string, data ...interface{}) *Obj {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (this *HoTimeCache) getIndex() []CacheIns {
|
||||
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user