Documentation ¶
Index ¶
Constants ¶
View Source
const (
// LoggingFilterName is the name of the logging filter
LoggingFilterName = "LoggingFilter"
)
Variables ¶
This section is empty.
Functions ¶
func NewRecoveryMiddleware ¶
func NewRecoveryMiddleware() mux.MiddlewareFunc
NewRecoveryMiddleware returns a standard mux middleware that provides panic recovery
Types ¶
type Logging ¶
type Logging struct { }
Logging is filter that configures logging per request.
func (*Logging) FilterMatchers ¶
func (*Logging) FilterMatchers() []web.FilterMatcher
FilterMatchers implements the web.Filter interface and returns the conditions on which the filter should be executed.
Click to show internal directories.
Click to hide internal directories.