Documentation ¶ Overview ¶ Package testhttp gives tests HTTP clients of their own. Index ¶ func Client() *http.Client Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Client ¶ func Client() *http.Client Client is an HTTP client of its own transport, without kept-alive connections: on the shared default transport, another test's server Close (CloseIdleConnections) breaks a request in flight. Types ¶ This section is empty. Source Files ¶ View all Source files testhttp.go Click to show internal directories. Click to hide internal directories.