Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(pattern string, mwFuncList []MiddlewareFunc)
func WithMiddleware ¶
func WithMiddleware(w http.ResponseWriter, r *http.Request) (http.ResponseWriter, *http.Request)
Types ¶
type MiddlewareFunc ¶
type MiddlewareFunc func(http.ResponseWriter, *http.Request) (http.ResponseWriter, *http.Request)
Click to show internal directories.
Click to hide internal directories.