beehive: Index | Files

package templatefilter

import ""

Package templatefilter provides a template-based filter.


Package Files


type TemplateFilter Uses

type TemplateFilter struct {

TemplateFilter is a template-based filter.

func (*TemplateFilter) Description Uses

func (filter *TemplateFilter) Description() string

Description returns the description of this Filter.

func (*TemplateFilter) Name Uses

func (filter *TemplateFilter) Name() string

Name returns the name of this Filter.

func (*TemplateFilter) Passes Uses

func (filter *TemplateFilter) Passes(data map[string]interface{}, v string) bool

Passes returns true when the Filter matched the data.

Package templatefilter imports 5 packages (graph) and is imported by 14 packages. Updated 2021-01-26. Refresh now. Tools for package owners.