pprof

package
v12.2.0-alpha9 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: BSD-3-Clause Imports: 5 Imported by: 24

Documentation

Overview

Package pprof provides native pprof support via middleware. See _examples/pprof

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() context.Handler

New returns a new pprof (profile, cmdline, symbol, goroutine, heap, threadcreate, debug/block) Middleware. Note: Route MUST have the last named parameter wildcard named '{action:path}'. Example:

app.HandleMany("GET", "/debug/pprof /debug/pprof/{action:path}", pprof.New())

Types

This section is empty.

Jump to

Keyboard shortcuts

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