Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatedHandler ¶
func ValidatedHandler(validator Validator, handler func(w http.ResponseWriter, r *http.Request, token *jwt.Token)) func(w http.ResponseWriter, r *http.Request)
ValidatedHandler will return a http handler which validates a request prior to invoking the given handler.
Types ¶
Click to show internal directories.
Click to hide internal directories.