mirror of
https://github.com/astaxie/beego.git
synced 2025-07-06 12:30:19 +00:00
fix #91
This commit is contained in:
8
cache/memcache.go
vendored
8
cache/memcache.go
vendored
@ -51,6 +51,14 @@ func (rc *MemcacheCache) Delete(key string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func (rc *MemcacheCache) Incr(key string) error {
|
||||
return errors.New("not support in memcache")
|
||||
}
|
||||
|
||||
func (rc *MemcacheCache) Decr(key string) error {
|
||||
return errors.New("not support in memcache")
|
||||
}
|
||||
|
||||
func (rc *MemcacheCache) IsExist(key string) bool {
|
||||
if rc.c == nil {
|
||||
rc.c = rc.connectInit()
|
||||
|
Reference in New Issue
Block a user