mirror of
https://github.com/gtsteffaniak/filebrowser.git
synced 2026-11-25 07:59:41 -05:00
- git directory structure changed (no more src folder) - search now works with filesize larger/smaller than x MB - search currently allows for only one search request at a time - cancels older requests by having them immediately return null
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
|
|
}
|