func NewHandler() Handler {
	h := &basicHandler{
		livenessChecks:  make(map[string]Check),
		readinessChecks: make(map[string]Check),
	}
	h.Handle("/live", http.HandlerFunc(h.LiveEndpoint))
	h.Handle("/ready", http.HandlerFunc(h.ReadyEndpoint))
	return h
}
func NewHandler() Handler {
	h := &basicHandler{
		livenessChecks:  make(map[string]Check),
		readinessChecks: make(map[string]Check),
	}
	h.Handle("/live", http.HandlerFunc(h.LiveEndpoint))
	h.Handle("/ready", http.HandlerFunc(h.ReadyEndpoint))
	return h
}
func NewHandler ( ) Handler { h := & basicHandler { livenessChecks : make ( map [ string ] Check ) , readinessChecks : make ( map [ string ] Check ) , } h . Handle ( " " , http . HandlerFunc ( h . LiveEndpoint ) ) h . Handle ( " " , http . HandlerFunc ( h . ReadyEndpoint ) ) return h }
// NewHandler creates a new basic Handler
NewHandler creates a new basic Handler