pprof

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package pprof exposes simple integrations between net/http/pprof, gorilla/mux, and uber/fx. This has to be in its own package to avoid side effects from importing net/http/pprof in the cases where a client does not want pprof.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRoutes

func BuildRoutes(r *mux.Router)

BuildRoutes adds the handlers from net/http/pprof, using the standard paths, to the given Router.

Types

This section is empty.

Jump to

Keyboard shortcuts

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