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.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/service/service.go b/internal/service/service.go
index 0b9b253..9eec0b8 100644
--- a/internal/service/service.go
+++ b/internal/service/service.go
@@ -12,7 +12,10 @@ type GalleryService interface {
Reload(ctx context.Context) error
// Gallery returns the currently loaded gallery.
- Gallery(ctx context.Context) ([]gallery.Photo, error)
+ Gallery(
+ ctx context.Context,
+ query gallery.Query,
+ ) ([]gallery.Photo, error)
// Photo returns a single photo by its ID.
Photo(ctx context.Context, id string) (gallery.Photo, error)