MCPcopy Create free account
hub / github.com/dispatchrun/wzprof / NewHandler

Method NewHandler

wzprof.go:193–193  ·  view source on GitHub ↗

NewHandler returns a new http handler suited to expose profiles on a pprof endpoint.

(sampleRate float64)

Source from the content-addressed store, hash-verified

191 // NewHandler returns a new http handler suited to expose profiles on a
192 // pprof endpoint.
193 NewHandler(sampleRate float64) http.Handler
194}
195
196var (

Callers 1

HandlerFunction · 0.65

Implementers 2

Calls

no outgoing calls

Tested by

no test coverage detected