Discover Packages
github.com/kataras/iris/v12
middleware
pprof
package
Version:
v12.2.0-beta4
Opens a new window with list of versions in this module.
Published: Jul 21, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 24
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.