beehive: github.com/muesli/beehive/filters/template Index | Files

package templatefilter

import "github.com/muesli/beehive/filters/template"

Package templatefilter provides a template-based filter.

Index

Package Files

templatefilter.go

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.