mirror of
https://github.com/KevinMidboe/planetposen-images.git
synced 2026-02-12 10:39:06 +00:00
App for fetching and uploading images to cloud bucket storage
This commit is contained in:
11
server/handler/healthz.go
Normal file
11
server/handler/healthz.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package handler
|
||||
|
||||
import "net/http"
|
||||
|
||||
// Healthz is used for our readiness and liveness probes.
|
||||
// GET /_healthz
|
||||
// Responds: 200
|
||||
func Healthz(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
w.Write([]byte(http.StatusText(http.StatusOK)))
|
||||
}
|
||||
Reference in New Issue
Block a user