Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHTTPDoer ¶
type MockHTTPDoer struct {
SubmitMultipartResult []submitMultipartPayload
SubmitJSONResult []submitJSONPayload
}
MockHTTPDoer.
func NewMockHTTPDoer ¶
func NewMockHTTPDoer() *MockHTTPDoer
func (*MockHTTPDoer) SubmitJSON ¶
func (c *MockHTTPDoer) SubmitJSON(method, endpoint string, body any) error
func (*MockHTTPDoer) SubmitMultipart ¶
func (c *MockHTTPDoer) SubmitMultipart( method, endpoint string, fields map[string]string, files []httpclient.MultipartFile, ) error
Click to show internal directories.
Click to hide internal directories.