Documentation
¶
Overview ¶
Package http provides testing utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HTTP2Client *http.Client
)
HTTP Clients for reuse, to pool connections during tests.
Functions ¶
func RefreshClients ¶
func RefreshClients()
RefreshClients creates new clients for the HTTP requests to tetst with.
func TestPostRequestJSON ¶
TestPostRequestJSON makes a POST request to the echo endpoint.
func TestPostRequestProto ¶
TestPostRequestProto makes a POST request to the echo endpoint.
Types ¶
Click to show internal directories.
Click to hide internal directories.