ContainerImage.Pinniped/pkg/handlers/handlers.go
Matt Moyer 82f89c501a Fix initial lint violations.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
2020-07-07 14:55:50 -05:00

18 lines
321 B
Go

/*
Copyright 2020 VMware, Inc.
SPDX-License-Identifier: Apache-2.0
*/
package handlers
import "net/http"
const JSONMimeType = "application/json; charset=utf-8"
const HeaderNameContentType = "Content-Type"
func New() http.Handler {
mux := http.NewServeMux()
mux.Handle("/healthz", newHealthzHandler())
return mux
}