aboutsummaryrefslogtreecommitdiff
path: root/internal/service/photo.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/service/photo.go')
-rw-r--r--internal/service/photo.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/service/photo.go b/internal/service/photo.go
new file mode 100644
index 0000000..6e56b4a
--- /dev/null
+++ b/internal/service/photo.go
@@ -0,0 +1,12 @@
+package service
+
+import (
+ "context"
+
+ "github.com/RanXom/galleryd/internal/gallery"
+)
+
+// PhotoService provides gallery photos
+type PhotoService interface {
+ Photos(ctx context.Context) ([]gallery.Photo, error)
+}