Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingMiddleware ¶
type LoggingMiddleware struct {
// contains filtered or unexported fields
}
func NewLoggingMiddleware ¶
func NewLoggingMiddleware() LoggingMiddleware
func (LoggingMiddleware) Middleware ¶
func (lm LoggingMiddleware) Middleware(next http.Handler) http.Handler
type Middleware ¶
Middleware interface is anything which implements a MiddlewareFunc named Middleware.
type MiddlewareFunc ¶
func (MiddlewareFunc) Middleware ¶
func (mw MiddlewareFunc) Middleware(handler http.Handler) http.Handler
Middleware allows MiddlewareFunc to implement the middleware interface.
Click to show internal directories.
Click to hide internal directories.