You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudreve/pkg/cache/driver.go

11 lines
215 B

package cache
// Store 缓存存储器
var Store Driver = NewMemoStore()
// Driver 键值缓存存储容器
type Driver interface {
Set(key string, value interface{}) error
Get(key string) (interface{}, bool)
}