Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { NewRequest(ctx context.Context, method, apiEndpoint string, payload io.Reader) (*http.Request, error) NewFormRequest(ctx context.Context, method, apiEndpoint, contentType string, payload io.Reader) (*http.Request, error) Call(request *http.Request, structure interface{}) (*models.ResponseScheme, error) TransformTheHTTPResponse(response *http.Response, structure interface{}) (*models.ResponseScheme, error) TransformStructToReader(structure interface{}) (io.Reader, error) }
Click to show internal directories.
Click to hide internal directories.