Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPRequestLog ¶
type HTTPResponseLog ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func NewMiddleware ¶
func NewMiddleware(log logger.Logger) *Middleware
func (*Middleware) LoggerRequest ¶
func (m *Middleware) LoggerRequest(next http.Handler) http.Handler
func (*Middleware) LoggerResponse ¶
func (m *Middleware) LoggerResponse(next http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.