Documentation ¶
Overview ¶
Package testing provides test helpers for various actions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiTestHandler ¶
type MultiTestHandler struct { Body [][]byte Method []string Url []string Content string ConditionalContent map[string]interface{} Header []http.Header RspCode int RspHeader http.Header }
func (*MultiTestHandler) ServeHTTP ¶
func (h *MultiTestHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type TestHandler ¶
func (*TestHandler) ServeHTTP ¶
func (h *TestHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.