aboutsummaryrefslogtreecommitdiff
path: root/internal/api/config.go
diff options
context:
space:
mode:
authorSaiyed Shizain <saiyedshizain@gmail.com>2026-07-13 19:45:40 +0530
committerGitHub <noreply@github.com>2026-07-13 19:45:40 +0530
commit5d4eaf85434658f6fed621016e0bc2bae59e88d1 (patch)
tree93ec34c177b6a48d90d5024313c3a10f5b7c5d2b /internal/api/config.go
parentf41b0b92046e1bee512b3e4143ed9dc9a9ba9713 (diff)
parent8e8f0bd38f0cc0ee435ae2ed392a206e1ea73a32 (diff)
downloadgalleryd-5d4eaf85434658f6fed621016e0bc2bae59e88d1.tar.xz
galleryd-5d4eaf85434658f6fed621016e0bc2bae59e88d1.zip
Merge pull request #8 from RanXom/feat/api
Feat/api: expose gallery HTTP API
Diffstat (limited to 'internal/api/config.go')
-rw-r--r--internal/api/config.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/internal/api/config.go b/internal/api/config.go
index d82147c..04057a4 100644
--- a/internal/api/config.go
+++ b/internal/api/config.go
@@ -1,10 +1,13 @@
package api
-import "github.com/RanXom/galleryd/internal/service"
+import (
+ "github.com/RanXom/galleryd/internal/service"
+)
// Config configures the HTTP server
type Config struct {
Address string
- Gallery service.GalleryService
+ Gallery service.GalleryService
+ Thumbnails ThumbnailGenerator
}