diff options
| author | horus_arch | 2015-04-19 22:09:52 +0200 |
|---|---|---|
| committer | horus_arch | 2015-04-19 22:09:52 +0200 |
| commit | 01e9a34952bd6ddd383680b0ca2312e476ad07a6 (patch) | |
| tree | 00902575e5c271cc5d35ea65aa8795b8caeb97bc /imagestore/store.go | |
| download | mandible-01e9a34952bd6ddd383680b0ca2312e476ad07a6.tar.gz | |
Initial commit.
Diffstat (limited to 'imagestore/store.go')
| -rw-r--r-- | imagestore/store.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/imagestore/store.go b/imagestore/store.go new file mode 100644 index 0000000..a58d1ff --- /dev/null +++ b/imagestore/store.go @@ -0,0 +1,16 @@ +package imagestore + +type ImageStore interface { + Save(src string, obj *StoreObject) (*StoreObject, error) + Exists(obj *StoreObject) (bool, error) +} + +type ImageStores []ImageStore + +func (this *ImageStores) Save(src string, obj *StoreObject) { + // TODO +} + +func (this *ImageStores) Exists(obj *StoreObject) (bool, error) { + return false, nil +} |
