echotest

package
v0.8.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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, urlParams map[string]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, urlParams map[string]string) (rec *httptest.ResponseRecorder, err error)

DoPUT return echo.Context and httptest.ResponseRecorder for POST Request

func DoRequest

func DoRequest(handler echo.HandlerFunc, req *http.Request, urlParams map[string]string) (rec *httptest.ResponseRecorder, err error)

DoRequest return echo.Context and httptest.ResponseRecorder for Request

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL