Documentation
¶
Index ¶
- func DoDELETE(handler echo.HandlerFunc, url string, urlParams map[string]string) (rec *httptest.ResponseRecorder, err error)
- func DoGET(handler echo.HandlerFunc, url string, urlParams map[string]string) (rec *httptest.ResponseRecorder, err error)
- func DoPOST(handler echo.HandlerFunc, url string, json string) (rec *httptest.ResponseRecorder, err error)
- func DoPUT(handler echo.HandlerFunc, url string, json string) (rec *httptest.ResponseRecorder, err error)
- func DoRequest(handler echo.HandlerFunc, req *http.Request, urlParams map[string]string) (rec *httptest.ResponseRecorder, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoDELETE ¶
func DoDELETE(handler echo.HandlerFunc, url string, urlParams map[string]string) (rec *httptest.ResponseRecorder, err error)
DoDELETE return echo.Context and httptest.ResponseRecorder for DELETE Request
func DoGET ¶
func DoGET(handler echo.HandlerFunc, url string, urlParams map[string]string) (rec *httptest.ResponseRecorder, err error)
DoGET return echo.Context and httptest.ResponseRecorder for GET Request
func DoPOST ¶
func DoPOST(handler echo.HandlerFunc, url string, json string) (rec *httptest.ResponseRecorder, err error)
DoPOST return echo.Context and httptest.ResponseRecorder for POST Request
func DoPUT ¶
func DoPUT(handler echo.HandlerFunc, url string, json string) (rec *httptest.ResponseRecorder, err error)
DoPUT return echo.Context and httptest.ResponseRecorder for POST Request
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.