- auth for weixin.
This commit is contained in:
13
business/jxutils/cache/cache.go
vendored
Normal file
13
business/jxutils/cache/cache.go
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
package cache
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type ICacher interface {
|
||||
FlushAll() error
|
||||
Set(key string, value interface{}, expiration time.Duration) error
|
||||
Del(key string) error
|
||||
Get(key string) interface{}
|
||||
GetAs(key string, ptr interface{}) error
|
||||
}
|
||||
Reference in New Issue
Block a user