Documentation ¶
Index ¶
Constants ¶
View Source
const ( HeaderContentType = "Content-Type" MIMEApplicationJSON = "application/json" )
Variables ¶
This section is empty.
Functions ¶
func GetTestReqAndRecJson ¶ added in v0.3.0
func GetTestReqAndRecJson(method, target string, body io.Reader) (*http.Request, *httptest.ResponseRecorder)
GetTestReqAndRec, returns a test request an recorder
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.