11 lines
196 B
Go
11 lines
196 B
Go
|
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"}`))
|
||
|
}
|