pprof

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const DefaultPrefix = "/debug/pprof/"

Variables

This section is empty.

Functions

func Handler

func Handler() http.Handler

Handler returns a pprof handler for the routes: /debug/pprof/*

func Middleware

func Middleware(next http.Handler) http.Handler

Middleware execute pprof handler if the request path starts with /debug/pprof/ or the next handler otherwise

Types

This section is empty.

Jump to

Keyboard shortcuts

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