Documentation ¶ Index ¶ func NewProxy(c api.PProfServiceClient) http.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewProxy ¶ func NewProxy(c api.PProfServiceClient) http.Handler NewProxy returns a pprof http proxy which proxies requests to a grpc service. It returns an http.Handler that you can use to route requests to. For instance `http.Handle("/debug/pprof/", NewHTTPProxy(client)` Types ¶ This section is empty. Source Files ¶ View all Source files http.go io.go Click to show internal directories. Click to hide internal directories.