Back to

package pprof

v0.0.0 (5e745f7)
Latest Go to latest
Published: 0 hours ago | License: Apache-2.0 | Module:


Package pprof is similar to net/http/pprof, except it supports auth.

Use it instead of net/http/pprof in LUCI server environments.

It uses temporary HMAC-based tokens (generated through admin portal) for authenticating requests. Requires a secret store to be installed in the base middleware.


func InstallHandlers

func InstallHandlers(r *router.Router, base router.MiddlewareChain)

InstallHandlers installs HTTP handlers for pprof routes.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier