hotime/cache/cache.go
2021-05-25 20:27:24 +08:00

33 lines
568 B
Go

package cache
import (
. "../common"
)
type HoTimeCache struct {
//set(key string, value interface{}, time int64)
//get(key string) interface{}
//delete(key string)
Error
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
}