HTTPServerArgs contains arguments needed by an HTTP server that is exporting a pprof web interface.
| 206 | // HTTPServerArgs contains arguments needed by an HTTP server that |
| 207 | // is exporting a pprof web interface. |
| 208 | type 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected