Documentation ¶ Index ¶ func HTTP(t *testing.T) *http.Client Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HTTP ¶ func HTTP(t *testing.T) *http.Client HTTP returns a Go http.Client which has a default timeout of 10 seconds, and separate connection pool to the default allowing tests to be properly isolated when running in parallel. The returned client will call CloseIdleConnections on test cleanup. Types ¶ This section is empty. Source Files ¶ View all Source files http.go Click to show internal directories. Click to hide internal directories.