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