Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPServerMock ¶
func HTTPServerMock(handlerFuncs map[string]HTTPHandlerFunc) *httptest.Server
func NotFoundHandlerFunc ¶
func NotFoundHandlerFunc(w http.ResponseWriter, r *http.Request)
func UnexpectedWriteError ¶
Types ¶
type HTTPHandlerFunc ¶
type HTTPHandlerFunc func(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.