Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultCacheStrategyModule ¶
type DefaultCacheStrategyModule struct{}
DefaultCacheStrategyModule is a flamingo module to set up a web filter which injects a default cache strategy
func (*DefaultCacheStrategyModule) Configure ¶
func (m *DefaultCacheStrategyModule) Configure(injector *dingo.Injector)
Configure the Module
type MetricsFilter ¶ added in v3.0.3
type MetricsFilter struct{}
MetricsFilter collects status codes of HTTP responses
func (*MetricsFilter) Filter ¶ added in v3.0.3
func (r *MetricsFilter) Filter(ctx context.Context, req *web.Request, w http.ResponseWriter, chain *web.FilterChain) web.Result
Filter a web request
Click to show internal directories.
Click to hide internal directories.