aboutsummaryrefslogtreecommitdiff
path: root/internal/service/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/service/service.go')
-rw-r--r--internal/service/service.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/service/service.go b/internal/service/service.go
index 252abed..68a764e 100644
--- a/internal/service/service.go
+++ b/internal/service/service.go
@@ -13,4 +13,7 @@ type GalleryService interface {
// Gallery returns the currently loaded gallery.
Gallery(ctx context.Context) ([]gallery.Photo, error)
+
+ // Photo returns a single photo by its ID.
+ Photo(ctx context.Context, id string) (gallery.Photo, error)
}