1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-10 03:20:19 +00:00
This commit is contained in:
astaxie
2013-07-16 19:05:44 +08:00
parent 60200689f4
commit 7f4ad7ff46
5 changed files with 111 additions and 0 deletions

2
cache/cache.go vendored
View File

@ -8,6 +8,8 @@ type Cache interface {
Get(key string) interface{}
Put(key string, val interface{}, timeout int64) error
Delete(key string) error
Incr(key string) error
Decr(key string) error
IsExist(key string) bool
ClearAll() error
StartAndGC(config string) error