Documentation ¶
Index ¶
Constants ¶
View Source
const (
Kind = constant.HTTPMetricFilter
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
func (*Filter) Decode ¶
func (f *Filter) Decode(c *http.HttpContext) filter.FilterStatus
func (*Filter) Encode ¶
func (f *Filter) Encode(c *http.HttpContext) filter.FilterStatus
type FilterFactory ¶
type FilterFactory struct { }
FilterFactory is http filter instance
func (*FilterFactory) Apply ¶
func (factory *FilterFactory) Apply() error
func (*FilterFactory) Config ¶
func (factory *FilterFactory) Config() interface{}
func (*FilterFactory) PrepareFilterChain ¶
func (factory *FilterFactory) PrepareFilterChain(ctx *http.HttpContext, chain filter.FilterChain) error
Click to show internal directories.
Click to hide internal directories.