INNER CODE UNIT · Go

HealthCheck

gliderlabs/logspout · healthcheck/healthcheck.go:16

func HealthCheck() http.Handler {
	r := mux.NewRouter()
	r.HandleFunc("/health", func(w http.ResponseWriter, req *http.Request) {
		w.Write([]byte("Healthy!\n"))
	})
	return r
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…