pprof

package
v0.0.0-...-bcfd2cf Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Wrapper = Wrap

Wrapper make sure we are backward compatible.

Functions

func Handler

func Handler(handler string) echo.HandlerFunc

Handler dispatch the correct profiler based on passed argument

func Wrap

func Wrap(e *echo.Echo)

Wrap adds several routes from package `net/http/pprof` to *echo.Echo object.

func WrapGroup

func WrapGroup(prefix string, g *echo.Group)

WrapGroup adds several routes from package `net/http/pprof` to *echo.Group object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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