Documentation ¶
Overview ¶
Package exchangetest provides utilities for exchange testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeEmptyResponse ¶
MakeEmptyResponse returns a new exchange.Response with a new GET request to url and an empty response with the status code 200 (OK).
MakeEmptyResponse panics on error for ease of use in testing.
func MakeResponse ¶
MakeResponse returns a new exchange.Response with a new GET request to url. respText is the entire HTTP response.
MakeResponse panics on error for ease of use in testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.