Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Record ¶
func Record(method string, url string, headers map[string]string, handleFunc http.Handler) (*httptest.ResponseRecorder, error)
Record creates a ResponseRecorder for testing
func RecoveryHandler ¶
func RecoveryHandler(w http.ResponseWriter, r *http.Request, err interface{})
RecoveryHandler represents the recovery handler
Types ¶
Click to show internal directories.
Click to hide internal directories.