luci: go.chromium.org/luci/server/pprof Index | Files | Directories

package pprof

import "go.chromium.org/luci/server/pprof"

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

Package Files

portal.go pprof.go token.go

func InstallHandlers Uses

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

InstallHandlers installs HTTP handlers for pprof routes.

Directories

PathSynopsis
internal

Package pprof imports 13 packages (graph) and is imported by 4 packages. Updated 2018-08-14. Refresh now. Tools for package owners.