MCPcopy Create free account
hub / github.com/ankorstore/yokai / PprofThreadCreateHandler

Function PprofThreadCreateHandler

httpserver/handler/pprof_thread_create.go:10–16  ·  view source on GitHub ↗

PprofThreadCreateHandler is an [echo.HandlerFunc] for pprof threadcreate.

()

Source from the content-addressed store, hash-verified

8
9// PprofThreadCreateHandler is an [echo.HandlerFunc] for pprof threadcreate.
10func 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}

Callers

nothing calls this directly

Calls 1

HandlerMethod · 0.65

Tested by

no test coverage detected