From c45b61ae0c8d6ec738fb0424c156c2f93ed4464c Mon Sep 17 00:00:00 2001 From: Soldier Date: Sun, 16 Nov 2025 07:40:59 +0000 Subject: [PATCH] Add minimal HTTP server skeleton Initialize Go module and create basic HTTP server structure with cmd/pkg layout. Server responds on :8080 with health check endpoint. --- cmd/alpenqueue/main.go | 12 ++++++++++++ go.mod | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 cmd/alpenqueue/main.go create mode 100644 go.mod diff --git a/cmd/alpenqueue/main.go b/cmd/alpenqueue/main.go new file mode 100644 index 0000000..5e3881a --- /dev/null +++ b/cmd/alpenqueue/main.go @@ -0,0 +1,12 @@ +package main + +import ( + "net/http" +) + +func main() { + http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + w.Write([]byte("AlpenQueue running!")) + }) + http.ListenAndServe(":8080", nil) +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..21bc865 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module alpenqueue + +go 1.25.4