Discover Packages
github.com/XpamAmAdEuS/iris/v12
middleware
pprof
package
Version:
v12.3.1
Opens a new window with list of versions in this module.
Published: Feb 23, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package pprof provides native pprof support via middleware. See _examples/pprof
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())
Source Files
¶
Click to show internal directories.
Click to hide internal directories.