Documentation

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallHandlers

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

InstallHandlers installs HTTP handlers for pprof routes.

Types

This section is empty.

Directories

Path Synopsis
internal