1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 21:02:25 +08:00
Files
wechat/cache/cache.go
silenceper c0da806e03 update golangci (#349)
* update golangci
2020-11-26 12:25:57 +08:00

12 lines
218 B
Go

package cache
import "time"
// Cache interface
type Cache interface {
Get(key string) interface{}
Set(key string, val interface{}, timeout time.Duration) error
IsExist(key string) bool
Delete(key string) error
}