Documentation ¶
Index ¶
- func Get(t *testing.T, uri string) *http.Request
- func GetAndCheckStatusAndBody(t *testing.T, rtr *blackbox.Router, uri string, status int, body string) (resp *blackbox.Response)
- func Post(t *testing.T, uri string, body []byte) *http.Request
- func RespondWithStatusAndCookie(status int, name, value string) blackbox.HandlerFunc
- func RespondWithStatusAndMessage(status int, message string) blackbox.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RespondWithStatusAndCookie ¶
func RespondWithStatusAndCookie( status int, name, value string) blackbox.HandlerFunc
func RespondWithStatusAndMessage ¶
func RespondWithStatusAndMessage( status int, message string) blackbox.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.