PprofThreadCreateHandler is an [echo.HandlerFunc] for pprof threadcreate.
()
| 8 | |
| 9 | // PprofThreadCreateHandler is an [echo.HandlerFunc] for pprof threadcreate. |
| 10 | func PprofThreadCreateHandler() echo.HandlerFunc { |
| 11 | return func(c echo.Context) error { |
| 12 | pprof.Handler("threadcreate").ServeHTTP(c.Response().Writer, c.Request()) |
| 13 | |
| 14 | return nil |
| 15 | } |
| 16 | } |