diff options
Diffstat (limited to 'internal/storage/local.go')
-rw-r--r-- | internal/storage/local.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/storage/local.go b/internal/storage/local.go index da57631f9..8ed3ca8d8 100644 --- a/internal/storage/local.go +++ b/internal/storage/local.go @@ -33,18 +33,23 @@ type Local struct { func (l *Local) Get(ctx context.Context, key string) ([]byte, error) { return l.KVStore.Get(key) } + func (l *Local) GetStream(ctx context.Context, key string) (io.ReadCloser, error) { return l.KVStore.GetStream(key) } + func (l *Local) PutStream(ctx context.Context, key string, r io.Reader) error { return l.KVStore.PutStream(key, r) } + func (l *Local) Put(ctx context.Context, key string, value []byte) error { return l.KVStore.Put(key, value) } + func (l *Local) Delete(ctx context.Context, key string) error { return l.KVStore.Delete(key) } + func (l *Local) URL(ctx context.Context, key string) *url.URL { return nil } |