func (s *Server) Threadz() http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		klog.Infof("GET %s: %v", r.URL.Path, r.Header)
		w.WriteHeader(http.StatusOK)
		if _, err := w.Write(stack()); err != nil {
			klog.Errorf("writing threadz response: %d", err)
		}
	}
}
// Threadz returns a threadz page
Threadz returns a threadz page
// Threadz returns a threadz page
func (s *Server) Threadz() http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		klog.Infof("GET %s: %v", r.URL.Path, r.Header)
		w.WriteHeader(http.StatusOK)
		if _, err := w.Write(stack()); err != nil {
			klog.Errorf("writing threadz response: %d", err)
		}
	}
}
func ( s * Server ) Threadz ( ) http . HandlerFunc { return func ( w http . ResponseWriter , r * http . Request ) { klog . Infof ( " " , r . URL . Path , r . Header ) w . WriteHeader ( http . StatusOK ) if _ , err := w . Write ( stack ( ) ) ; err != nil { klog . Errorf ( " " , err ) } } }
Threadz returns a threadz page
Threadz returns a threadz page