Documentation ¶
Index ¶
- type Client
- func (_m *Client) Delete(url string, headers http.Header, callbacks ...func(*http.Request)) (*http.Response, error)
- func (_m *Client) Do(req *http.Request) (*http.Response, error)
- func (_m *Client) Get(url string, headers http.Header, callbacks ...func(*http.Request)) (*http.Response, error)
- func (_m *Client) Patch(url string, body io.Reader, headers http.Header, ...) (*http.Response, error)
- func (_m *Client) Post(url string, body io.Reader, headers http.Header, ...) (*http.Response, error)
- func (_m *Client) Put(url string, body io.Reader, headers http.Header, ...) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) Delete ¶
func (_m *Client) Delete(url string, headers http.Header, callbacks ...func(*http.Request)) (*http.Response, error)
Delete provides a mock function with given fields: url, headers, callbacks
func (*Client) Do ¶
Do provides a mock function with given fields: req
func (*Client) Get ¶
func (_m *Client) Get(url string, headers http.Header, callbacks ...func(*http.Request)) (*http.Response, error)
Get provides a mock function with given fields: url, headers, callbacks
func (*Client) Patch ¶
func (_m *Client) Patch(url string, body io.Reader, headers http.Header, callbacks ...func(*http.Request)) (*http.Response, error)
Patch provides a mock function with given fields: url, body, headers, callbacks
Click to show internal directories.
Click to hide internal directories.