diff options
Diffstat (limited to 'pkg/webui/routes.go')
-rw-r--r-- | pkg/webui/routes.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/webui/routes.go b/pkg/webui/routes.go new file mode 100644 index 0000000..ef16040 --- /dev/null +++ b/pkg/webui/routes.go @@ -0,0 +1,14 @@ +package webui + +import ( + "net/http" + + "git.adyxax.org/adyxax/tfstated/pkg/database" +) + +func addRoutes( + mux *http.ServeMux, + db *database.DB, +) { + mux.Handle("GET /healthz", handleHealthz()) +} |