mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
12 lines
255 B
Go
12 lines
255 B
Go
package diskcache
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Interface interface {
|
|
Store(ctx context.Context, key string, value []byte) error
|
|
Load(ctx context.Context, key string) (value []byte, exist bool, err error)
|
|
Delete(ctx context.Context, key string) error
|
|
}
|