summaryrefslogtreecommitdiff
path: root/app/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/store.go')
-rw-r--r--app/store.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/store.go b/app/store.go
new file mode 100644
index 0000000..e7c27e4
--- /dev/null
+++ b/app/store.go
@@ -0,0 +1,8 @@
+package app
+
+// Store ...
+type Store interface {
+ Close() error
+ GetViews(collection, id string) (int64, error)
+ IncView(collection, id string) error
+}