Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrForbidden = errors.New("forbidden") ErrInternal = errors.New("internal_auth_error") )
Functions ¶
func SetErrorHandler ¶
func SetErrorHandler(h ErrorHandler)
Types ¶
type ErrorHandler ¶
type ErrorHandler func(w http.ResponseWriter, r *http.Request, err error)
Click to show internal directories.
Click to hide internal directories.