kg: do not export handlers

This commit is contained in:
Steffen Vogel
2021-07-16 11:54:00 +02:00
parent cd96616a91
commit cfb680e99a
2 changed files with 6 additions and 6 deletions

View File

@@ -196,8 +196,8 @@ func Main() error {
{
// Run the HTTP server.
mux := http.NewServeMux()
mux.Handle("/health", &HealthHandler{})
mux.Handle("/graph", &GraphHandler{m, gr})
mux.Handle("/health", &healthHandler{})
mux.Handle("/graph", &graphHandler{m, gr})
mux.Handle("/metrics", promhttp.HandlerFor(r, promhttp.HandlerOpts{}))
l, err := net.Listen("tcp", *listen)
if err != nil {