1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-17 16:12:42 +08:00
Files
go-mixed/cache/mem.go
2022-06-10 17:04:34 +08:00

10 lines
179 B
Go

package cache
import "time"
type MemCache interface {
Get(key string) ([]byte, error)
Set(key string, entry []byte, expire time.Duration) error
Delete(key ...string) error
}