10 lines
211 B
Go
10 lines
211 B
Go
package handler
|
|
|
|
import "net/http"
|
|
|
|
func Readiness(w http.ResponseWriter, req *http.Request) {
|
|
req.Header.Set("Content-Type", "text/plain; charset=utf-8")
|
|
w.WriteHeader(http.StatusOK)
|
|
w.Write([]byte("OK"))
|
|
}
|