Documentation ¶
Index ¶
- Variables
- func AllocsHandler() tsing.Handler
- func BlockHandler() tsing.Handler
- func CmdlineHandler() tsing.Handler
- func GoroutineHandler() tsing.Handler
- func HeapHandler() tsing.Handler
- func IndexHandler() tsing.Handler
- func MutexHandler() tsing.Handler
- func ProfileHandler() tsing.Handler
- func SymbolHandler() tsing.Handler
- func ThreadCreateHandler() tsing.Handler
- func TraceHandler() tsing.Handler
- func Wrap(router *tsing.App)
- func WrapGroup(router *tsing.RouterGroup)
Constants ¶
This section is empty.
Variables ¶
var Wrapper = Wrap
Wrapper make sure we are backward compatible
Functions ¶
func AllocsHandler ¶
AllocsHandler will pass the call from /debug/pprof/allocs to pprof
func BlockHandler ¶
BlockHandler will pass the call from /debug/pprof/block to pprof
func CmdlineHandler ¶
CmdlineHandler will pass the call from /debug/pprof/cmdline to pprof
func GoroutineHandler ¶
GoroutineHandler will pass the call from /debug/pprof/goroutine to pprof
func HeapHandler ¶
HeapHandler will pass the call from /debug/pprof/heap to pprof
func IndexHandler ¶
IndexHandler will pass the call from /debug/pprof to pprof
func MutexHandler ¶
MutexHandler will pass the call from /debug/pprof/mutex to pprof
func ProfileHandler ¶
ProfileHandler will pass the call from /debug/pprof/profile to pprof
func SymbolHandler ¶
SymbolHandler will pass the call from /debug/pprof/symbol to pprof
func ThreadCreateHandler ¶
ThreadCreateHandler will pass the call from /debug/pprof/threadcreate to pprof
func TraceHandler ¶
TraceHandler will pass the call from /debug/pprof/trace to pprof
func Wrap ¶
参考ginpprof : github.com/DeanThompson/ginpprof Wrap adds several routes from package `net/http/pprof` to *gin.Engine object
func WrapGroup ¶
func WrapGroup(router *tsing.RouterGroup)
WrapGroup adds several routes from package `net/http/pprof` to *gin.RouterGroup object
Types ¶
This section is empty.