Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockEchoServer ¶
func NewMockEchoServer(target, method, responseBody string, headers []map[string]interface{}) (echo.Context, *http.Request, *httptest.ResponseRecorder)
NewMockEchoServer ...
func NewMockServer ¶
NewMockServer creates and returns a mock server 1. paramater the response that you want to return 2. paramater the status code that you want to return 3. paramater the headers that you want to return
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.