summaryrefslogtreecommitdiff
path: root/pkg/webui/routes.go
blob: ef16040676804223c10a0f1efd00e3dc1431ee70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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())
}