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/pprofx/allocs to pprofx
func BlockHandler ¶
func BlockHandler() gin.HandlerFunc
BlockHandler will pass the call from /debug/pprofx/block to pprofx
func CmdlineHandler ¶
func CmdlineHandler() gin.HandlerFunc
CmdlineHandler will pass the call from /debug/pprofx/cmdline to pprofx
func GoroutineHandler ¶
func GoroutineHandler() gin.HandlerFunc
GoroutineHandler will pass the call from /debug/pprofx/goroutine to pprofx
func HeapHandler ¶
func HeapHandler() gin.HandlerFunc
HeapHandler will pass the call from /debug/pprofx/heap to pprofx
func IndexHandler ¶
func IndexHandler() gin.HandlerFunc
IndexHandler will pass the call from /debug/pprofx to pprofx
func MutexHandler ¶
func MutexHandler() gin.HandlerFunc
MutexHandler will pass the call from /debug/pprofx/mutex to pprofx
func ProfileHandler ¶
func ProfileHandler() gin.HandlerFunc
ProfileHandler will pass the call from /debug/pprofx/profile to pprofx
func SymbolHandler ¶
func SymbolHandler() gin.HandlerFunc
SymbolHandler will pass the call from /debug/pprofx/symbol to pprofx
func ThreadCreateHandler ¶
func ThreadCreateHandler() gin.HandlerFunc
ThreadCreateHandler will pass the call from /debug/pprofx/threadcreate to pprofx
func TraceHandler ¶
func TraceHandler() gin.HandlerFunc
TraceHandler will pass the call from /debug/pprofx/tracex to pprofx
func WrapGroup ¶
func WrapGroup(router *gin.RouterGroup)
WrapGroup adds several routes from package `net/http/pprofx` to *gin.RouterGroup object
Types ¶
This section is empty.