mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 00:22:41 +08:00
cache
This commit is contained in:
10
cache/distributd_cache.go
vendored
Normal file
10
cache/distributd_cache.go
vendored
Normal 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
|
||||
}
|
Reference in New Issue
Block a user