1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
10 "git.curoverse.com/arvados.git/sdk/go/health"
11 "git.curoverse.com/arvados.git/sdk/go/httpserver"
18 func (srv *server) Start() error {
19 mux := http.NewServeMux()
20 mux.Handle("/", &authHandler{handler: newGitHandler()})
21 mux.Handle("/_health/", &health.Handler{
22 Token: theConfig.ManagementToken,
26 srv.Addr = theConfig.Listen
27 return srv.Server.Start()