# Packages
Package httptestutils is a generated GoMock package.
# Functions
DecodeJSON decodes a JSON request body into the given object.
New creates a new HTTP client.
NewTransport creates a new http.Transport.
OverrideURL overrides the destination URL with the source URL.
UnmarshalQuery unmarshals a URL query into the given object.
WithBaseURL returns a PrepareDecorator that populates the http.Request with a url.URL constructed from the supplied baseUrl.
WriteError writes an error response with the given status code and error.
WriteJSON writes a JSON response with the given status code and data.
# Structs
Config for creating an HTTP Client.
ErrorRespMsg is a struct representing an error response message.
TransportConfig is a configuration for http.Transport.