Documentation ¶
Index ¶
Constants ¶
View Source
const ( GET = "GET" HEAD = "HEAD" POST = "POST" PUT = "PUT" PATCH = "PATCH" DELETE = "DELETE" TRACE = "TRACE" OPTIONS = "OPTIONS" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RequestOption ¶
func HeaderOption ¶
func HeaderOption(header map[string]string) RequestOption
func QueryOption ¶
func QueryOption(query map[string]string) RequestOption
type ValidationFunc ¶
type ValidationFunc func(t *testing.T, resp *httptest.ResponseRecorder)
Click to show internal directories.
Click to hide internal directories.