Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNilErrorHandler = errors.New("error handler cannot be nil")
)
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler func(w http.ResponseWriter, err error)
ErrorHandler handles the possible JWT validation error
func NewDefaultErrorHandler ¶
func NewDefaultErrorHandler( jsonEncoder gonethttpjson.Encoder, ) (ErrorHandler, error)
NewDefaultErrorHandler function
Click to show internal directories.
Click to hide internal directories.