Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultHTTPRequestProvider ¶
DefaultHTTPRequestProvider returns a default http.Request with the given method, url and body
Types ¶
type HTTPClient ¶
An HTTPClient represents an interface type of HTTPClient that encapsulates a 'Do' function which takes an http.Request and returns an http.Response
func DefaultHTTPClientProvider ¶
func DefaultHTTPClientProvider() HTTPClient
DefaultHTTPClientProvider returns a default HTTPClient implementation
type HTTPClientProvider ¶
type HTTPClientProvider func() HTTPClient
An HTTPClientProvider represents a function type that returns an HTTPClient
Click to show internal directories.
Click to hide internal directories.