Documentation ¶
Index ¶
- Variables
- func BlockHandler() echo.HandlerFunc
- func CmdlineHandler() echo.HandlerFunc
- func GoroutineHandler() echo.HandlerFunc
- func HeapHandler() echo.HandlerFunc
- func IndexHandler() echo.HandlerFunc
- func MutexHandler() echo.HandlerFunc
- func ProfileHandler() echo.HandlerFunc
- func SymbolHandler() echo.HandlerFunc
- func ThreadCreateHandler() echo.HandlerFunc
- func TraceHandler() echo.HandlerFunc
- func Wrap(e *echo.Echo)
- func WrapGroup(prefix string, g *echo.Group)
Constants ¶
This section is empty.
Variables ¶
var Wrapper = Wrap
Wrapper make sure we are backward compatible.
Functions ¶
func BlockHandler ¶
func BlockHandler() echo.HandlerFunc
BlockHandler will pass the call from /debug/pprof/block to pprof.
func CmdlineHandler ¶
func CmdlineHandler() echo.HandlerFunc
CmdlineHandler will pass the call from /debug/pprof/cmdline to pprof.
func GoroutineHandler ¶
func GoroutineHandler() echo.HandlerFunc
GoroutineHandler will pass the call from /debug/pprof/goroutine to pprof.
func HeapHandler ¶
func HeapHandler() echo.HandlerFunc
HeapHandler will pass the call from /debug/pprof/heap to pprof.
func IndexHandler ¶
func IndexHandler() echo.HandlerFunc
IndexHandler will pass the call from /debug/pprof to pprof.
func MutexHandler ¶
func MutexHandler() echo.HandlerFunc
MutexHandler will pass the call from /debug/pprof/mutex to pprof.
func ProfileHandler ¶
func ProfileHandler() echo.HandlerFunc
ProfileHandler will pass the call from /debug/pprof/profile to pprof.
func SymbolHandler ¶
func SymbolHandler() echo.HandlerFunc
SymbolHandler will pass the call from /debug/pprof/symbol to pprof.
func ThreadCreateHandler ¶
func ThreadCreateHandler() echo.HandlerFunc
ThreadCreateHandler will pass the call from /debug/pprof/threadcreate to pprof.
func TraceHandler ¶
func TraceHandler() echo.HandlerFunc
TraceHandler will pass the call from /debug/pprof/trace to pprof.
func Wrap ¶
func Wrap(e *echo.Echo)
Wrap adds several routes from package `net/http/pprof` to *echo.Echo object.
Types ¶
This section is empty.