summaryrefslogtreecommitdiff
path: root/imagestore/store.go
blob: 97aaa1d0e37ef992b1465749cee713ecb712a98f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package imagestore

type ImageStore interface {
	Save(src string, obj *StoreObject, url string) (*StoreObject, error)
	Exists(obj *StoreObject) (bool, error)
}

type ImageStores []ImageStore

func (this *ImageStores) Save(src string, obj *StoreObject, url string) {
	// TODO
}

func (this *ImageStores) Exists(obj *StoreObject) (bool, error) {
	return false, nil
}