package
0.0.2
Repository: https://github.com/xitonix/createsend.git
Documentation: pkg.go.dev

# Functions

ForceToFail if enabled, it forces the mocked HTTP requests to fail.
NewHTTPClientMock creates a new instance of a mocked HTTP client.
WhenCalled sets a callback which will be called once an HTTP request is being sent to the server.

# Variables

ErrDeliberate occurs when a unit test simulates an error.

# Structs

HTTPClientMock represents a mocked HTTP client.
Options mocked client configurations.

# Type aliases

Option represents an optional configuration function for mocked clients.