aboutsummaryrefslogtreecommitdiff
path: root/internal/api/server.go
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-13 15:02:39 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-13 15:02:39 +0530
commitcee3fcb2be34f86bdd6a3e19cb57a2e3c1cf34b4 (patch)
tree5e4b11e55ffe4e0a47860000b2ae6d655b42cb69 /internal/api/server.go
parent5d6347e2faa5419bf5469858a2335aa9e2746c9a (diff)
downloadgalleryd-cee3fcb2be34f86bdd6a3e19cb57a2e3c1cf34b4.tar.xz
galleryd-cee3fcb2be34f86bdd6a3e19cb57a2e3c1cf34b4.zip
feat(api): implement HTTP server
Diffstat (limited to 'internal/api/server.go')
-rw-r--r--internal/api/server.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/internal/api/server.go b/internal/api/server.go
index 0151378..512ced3 100644
--- a/internal/api/server.go
+++ b/internal/api/server.go
@@ -1,4 +1,10 @@
package api
+import "net/http"
+
// Server exposes the gallery over HTTP
-type Server struct{}
+type Server struct {
+ config Config
+
+ http *http.Server
+}