Documentation
¶
Overview ¶
use https://github.com/gin-contrib/pprof/blob/master/pprof.go
Index ¶
Constants ¶
View Source
const (
DefaultPrefix = "/debug/prof"
)
Variables ¶
This section is empty.
Functions ¶
func Register ¶
Register the standard HandlerFuncs from the net/http/pprof package with the provided gow.Engine. prefixOptions is a optional. If not prefixOptions, the default path prefix is used, otherwise first prefixOptions will be path prefix.
func RouteRegister ¶
func RouteRegister(rg *gow.RouterGroup, prefixOptions ...string)
RouteRegister the standard HandlerFuncs from the net/http/pprof package with the provided gin.GrouterGroup. prefixOptions is a optional. If not prefixOptions, the default path prefix is used, otherwise first prefixOptions will be path prefix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.