func()

in internal/httphandler/httphandler.go [79:85]


func (s *Handler) HandleEndpoints(w http.ResponseWriter, r *http.Request) {
	addHeaders(w)
	w.Header().Add("Content-Type", "application/json")
	if err := json.NewEncoder(w).Encode(s.Endpoints); err != nil {
		w.WriteHeader(http.StatusInternalServerError)
	}
}