http

package
v0.0.0-...-e47a716 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL