Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = New()
Functions ¶
func DefaultHandleFunc ¶
func DefaultHandleFunc(w *http.ResponseWriter, r *http.Request)
func New ¶
func New(callback ...HandleFunc) http.Middleware
Types ¶
type HandleFunc ¶
type HandleFunc func(w *http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.