summaryrefslogtreecommitdiff
path: root/cmd/tfstate/routes.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cmd/tfstate/routes.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/tfstate/routes.go b/cmd/tfstate/routes.go
new file mode 100644
index 0000000..f583fc7
--- /dev/null
+++ b/cmd/tfstate/routes.go
@@ -0,0 +1,7 @@
+package main
+
+import "net/http"
+
+func addRoutes(mux *http.ServeMux) {
+ mux.Handle("GET /healthz", handleHealthz())
+}