mirror of https://github.com/rjbasitali/go-cache
parent
8142b23bcb
commit
9242ee35fe
1
cache.go
1
cache.go
|
|
@ -4,4 +4,5 @@ type Cache interface {
|
||||||
Get(key string) (interface{}, error)
|
Get(key string) (interface{}, error)
|
||||||
Set(key string, data interface{}) error
|
Set(key string, data interface{}) error
|
||||||
Remove(key string) error
|
Remove(key string) error
|
||||||
|
Flush()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue