blob: f59d02759d105682027519b74754db88f9776821 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package server
import (
"fmt"
"net/http"
)
func healthHandler(w http.ResponseWriter, r *http.Request) {
if r.URL.Path != "/health" {
errorHandler(w, r, http.StatusNotFound)
return
}
fmt.Fprint(w, "TODO")
}
|