github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/server/healthz.go (about)

     1  package server
     2  
     3  import (
     4  	"net/http"
     5  )
     6  
     7  func (*Controller) healthz(w http.ResponseWriter, _ *http.Request) {
     8  	_, _ = w.Write([]byte("server is ready"))
     9  }