command
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: Aug 10, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
panicweb implements a simulation of a web server that panics.
It starts a web server, a few handlers and a few hanging clients, then
panics.
It loads both panicparse's http handler and pprof's one for comparison.
It is separate from the panic tool because importing "net/http" creates a
background thread, which breaks the "asleep" panic case in tool panic.
Source Files
¶
Directories
¶
Package internal implements the handlers for panicweb so they are in a separate package than "main".
|
Package internal implements the handlers for panicweb so they are in a separate package than "main". |
Click to show internal directories.
Click to hide internal directories.