Back to godoc.org

Package pprof

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Overview

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.

Index

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
/ : Search site
f or F : Jump to identifier