Documentation ¶
Index ¶
Constants ¶
View Source
const (
// CriteriaFilterName is the name of the criteria filter
CriteriaFilterName = "CriteriaFilter"
)
View Source
const (
// LoggingFilterName is the name of the logging filter
LoggingFilterName = "LoggingFilter"
)
View Source
const PlatformAwareVisibilityFilterName = "PlatformAwareVisibilityFilter"
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.
type PlatformAwareVisibilityFilter ¶ added in v0.2.0
type PlatformAwareVisibilityFilter struct { }
func (*PlatformAwareVisibilityFilter) FilterMatchers ¶ added in v0.2.0
func (*PlatformAwareVisibilityFilter) FilterMatchers() []web.FilterMatcher
func (*PlatformAwareVisibilityFilter) Name ¶ added in v0.2.0
func (*PlatformAwareVisibilityFilter) Name() string
type SelectionCriteria ¶ added in v0.1.8
type SelectionCriteria struct { }
SelectionCriteria is filter that configures selection criteria per request.
func (*SelectionCriteria) FilterMatchers ¶ added in v0.1.8
func (*SelectionCriteria) FilterMatchers() []web.FilterMatcher
FilterMatchers implements the web.Filter interface and returns the conditions on which the filter should be executed.
func (*SelectionCriteria) Name ¶ added in v0.1.8
func (*SelectionCriteria) Name() string
Name implements the web.Filter interface and returns the identifier of the filter.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.