Mail api for sending order confirmation to planetposen customers

This commit is contained in:
2022-12-02 18:26:07 +01:00
commit 2812f6bcbf
13 changed files with 782 additions and 0 deletions

11
server/handler/healthz.go Normal file
View 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)))
}