Versions in this module Expand all Collapse all v0 v0.5.2 Apr 25, 2018 v0.5.1 Apr 12, 2018 Changes in this version + type Handler func(w http.ResponseWriter, r *http.Request) error + type Middleware struct + func New(handler *mux.Router) *Middleware + func NewRouter() *Middleware + func (m *Middleware) HandleFunc(path string, f http.HandlerFunc) *Middleware + func (m *Middleware) Inject(f ...Handler) *Middleware + func (m *Middleware) PathPrefix(path string) *MiddlewareRoute + func (m *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request) + type MiddlewareRoute struct + func (mr *MiddlewareRoute) Subrouter() *Middleware