Restructure and refactor codebase

This commit is contained in:
2025-02-28 18:29:27 +00:00
parent 624cfb2c40
commit 2c9ad491ff
10 changed files with 690 additions and 378 deletions
+15
View File
@@ -0,0 +1,15 @@
package utils
import (
"net/http"
)
// Returns a simple health check handler
func HealthCheck() http.Handler {
mux := http.NewServeMux()
mux.HandleFunc("/health", func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
w.Write([]byte("Healthy"))
})
return mux
}