Files
whatshooked/pkg/handlers/health.go
2025-12-29 09:51:16 +02:00

12 lines
231 B
Go

package handlers
import (
"encoding/json"
"net/http"
)
// Health handles health check requests
func (h *Handlers) Health(w http.ResponseWriter, r *http.Request) {
json.NewEncoder(w).Encode(map[string]string{"status": "ok"})
}