Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrForbidden = errors.New("403 Forbidden")
Functions ¶
func IsForbidden ¶
IsForbidden tests whether the passed-in error wraps errForbidden.
Types ¶
type FakeHandler ¶
FakeHandler implements http.Handler, and handles fake requests for testing, appending requests to an array member for later inspection
func (*FakeHandler) ServeHTTP ¶
func (h *FakeHandler) ServeHTTP(_ http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.