MCPcopy Create free account
hub / github.com/google/pprof / HTTPServerArgs

Struct HTTPServerArgs

internal/plugin/plugin.go:208–218  ·  view source on GitHub ↗

HTTPServerArgs contains arguments needed by an HTTP server that is exporting a pprof web interface.

Source from the content-addressed store, hash-verified

206// HTTPServerArgs contains arguments needed by an HTTP server that
207// is exporting a pprof web interface.
208type HTTPServerArgs struct {
209 // Hostport contains the http server address (derived from flags).
210 Hostport string
211
212 Host string // Host portion of Hostport
213 Port int // Port portion of Hostport
214
215 // Handlers maps from URL paths to the handler to invoke to
216 // serve that path.
217 Handlers map[string]http.Handler
218}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected