iedc-go/vendor/github.com/silenceper/wechat/cache/cache.go

12 lines
217 B
Go
Raw Normal View History

2023-03-02 19:12:15 +00:00
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
}