Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHTTP ¶
type MockHTTP struct {
Server *httptest.Server
Client http.Client
Responses map[string]TestHTTPResponse
}
func InitMockHTTP ¶
func InitMockHTTP() *MockHTTP
func (*MockHTTP) AddTestData ¶
func (*MockHTTP) DeleteTestData ¶
type TestHTTPResponse ¶
Click to show internal directories.
Click to hide internal directories.