Documentation ¶
Overview ¶
Package templatefilter provides a template-based filter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TemplateFilter ¶
type TemplateFilter struct { }
TemplateFilter is a template-based filter.
func (*TemplateFilter) Description ¶
func (filter *TemplateFilter) Description() string
Description returns the description of this Filter.
func (*TemplateFilter) Name ¶
func (filter *TemplateFilter) Name() string
Name returns the name of this Filter.
func (*TemplateFilter) Passes ¶
func (filter *TemplateFilter) Passes(data interface{}, value interface{}) bool
Passes returns true when the Filter matched the data.
Click to show internal directories.
Click to hide internal directories.