MCPcopy Index your code
hub / github.com/DoNewsCode/core / DebugModule

Struct DebugModule

srvhttp/debug.go:11–11  ·  view source on GitHub ↗

DebugModule defines a http provider for container.Container. It calls pprof underneath. For instance, `/debug/pprof/cmdline` invokes pprof.Cmdline

Source from the content-addressed store, hash-verified

9// DebugModule defines a http provider for container.Container. It calls pprof underneath. For instance,
10// `/debug/pprof/cmdline` invokes pprof.Cmdline
11type DebugModule struct{}
12
13// ProvideHTTP implements container.HTTPProvider
14func (d DebugModule) ProvideHTTP(router *mux.Router) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected