Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientMock ¶
type ClientMock struct {
GetCall func(endpoint string, fetchOptions service.RequestParams) ([]byte, error)
PostCall func(endpoint string, body []byte, headers map[string]string) error
}
ClientMock mocks client
func (ClientMock) Get ¶
func (c ClientMock) Get(endpoint string, fetchOptions service.RequestParams) ([]byte, error)
Get mocks Get
Click to show internal directories.
Click to hide internal directories.