summaryrefslogtreecommitdiff
path: root/objectstore/objecstore.go
blob: 7509fad71a64dc9e804e61f172576a8b179d4653 (plain)
1
2
3
4
5
6
7
8
9
10
11
// ObjectStore (backend) interface
//
// Licensed under CC0 1.0 Universal:
// https://creativecommons.org/publicdomain/zero/1.0/legalcode
package objectstore

type ObjectStore interface {
	CreateObject(bucketId string, objectId string, content string)
	GetObject(bucketId string, objectId string) (string, error)
	DeleteObject(bucketId string, objectId string) error
}