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.
This commit is contained in:
Soldier 2025-11-16 07:40:59 +00:00
parent 4dc07e0329
commit c45b61ae0c
2 changed files with 15 additions and 0 deletions

12
cmd/alpenqueue/main.go Normal file
View File

@ -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)
}

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module alpenqueue
go 1.25.4