Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
Middleware is a struct that has a ServeHTTP method
func (*Middleware) Add ¶
func (mw *Middleware) Add(name string, service interface{})
-----------------------------------------------------------------------------
func (*Middleware) ServeHTTP ¶
func (mw *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
ServeHTTP is the middleware handler
Click to show internal directories.
Click to hide internal directories.