templatefilter

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2020 License: AGPL-3.0 Imports: 5 Imported by: 4

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL