initial rebuild

This commit is contained in:
allanice001
2025-09-01 13:34:13 +01:00
commit 95bd9615d1
100 changed files with 12440 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package health
import (
"net/http"
"github.com/glueops/autoglue/internal/response"
)
// Check HealthCheck godoc
// @Summary Basic health check
// @Description Returns a 200 if the service is up
// @Tags health
// @Accept json
// @Produce plain
// @Success 200 {string} string "ok"
// @Router /api/healthz [get]
func Check(w http.ResponseWriter, r *http.Request) {
_ = response.JSON(w, http.StatusOK, map[string]string{"status": "ok"})
}