Redmage/server/routes/api/health_check.go

11 lines
196 B
Go
Raw Normal View History

2024-04-07 12:11:25 +07:00
package api
import (
"net/http"
)
func HealthCheck(rw http.ResponseWriter, r *http.Request) {
rw.Header().Add("Content-Type", "application/json")
_, _ = rw.Write([]byte(`{"status":"ok"}`))
}