summaryrefslogtreecommitdiff
path: root/objectstore/objecstore.go
diff options
context:
space:
mode:
authorPablo M. Bermudo Garay <pablombg@gmail.com>2022-02-09 21:37:44 +0100
committerPablo M. Bermudo Garay <pablombg@gmail.com>2022-02-10 13:14:19 +0100
commit3aa4d62526537ec0fe624899a2f05566ea80a198 (patch)
tree6ab3bfe1de3f8b598563b0fc71a84cd300ffafa9 /objectstore/objecstore.go
parent53667583c094252818f203b9233a7726d0a4e8a0 (diff)
Add and use file backend
Diffstat (limited to 'objectstore/objecstore.go')
-rw-r--r--objectstore/objecstore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/objectstore/objecstore.go b/objectstore/objecstore.go
index f4985c9..7cbb481 100644
--- a/objectstore/objecstore.go
+++ b/objectstore/objecstore.go
@@ -9,7 +9,7 @@ import (
)
type ObjectStore interface {
- CreateObject(bucketId string, objectId string, content string) error
+ CreateObject(bucketId string, objectId string, content []byte) error
GetObject(bucketId string, objectId string) (string, error)
DeleteObject(bucketId string, objectId string) error
}