Documentation ¶
Index ¶
- func Delete(path string, body io.Reader, res *httptest.ResponseRecorder) *httputil.Context
- func Get(path string, body io.Reader, res *httptest.ResponseRecorder) *httputil.Context
- func NewRequest(method string, path string, body io.Reader, res http.ResponseWriter) *httputil.Context
- func Patch(path string, body io.Reader, res *httptest.ResponseRecorder) *httputil.Context
- func Post(path string, body io.Reader, res *httptest.ResponseRecorder) *httputil.Context
- func Put(path string, body io.Reader, res *httptest.ResponseRecorder) *httputil.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequest ¶
func NewRequest(method string, path string, body io.Reader, res http.ResponseWriter) *httputil.Context
NewRequest returns a new instance of a httputil.Context with provided parameters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.