1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 00:22:41 +08:00
This commit is contained in:
2022-04-26 17:11:45 +08:00
parent 78c957c98e
commit fb9f70d150
10 changed files with 483 additions and 0 deletions

10
cache/distributd_cache.go vendored Normal file
View File

@ -0,0 +1,10 @@
package cache
import "time"
type DistributdCache interface {
Get(key string, out any) error
Set(key string, value any, expiration time.Duration)
Delete(key string) error
Ping() error
}