filtertest

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PassThroughDesc = baker.FilterDesc{
	Name:   "PassThrough",
	New:    newPassThrough,
	Config: &passThrough{},
	Help:   "lets all through, useful for test/debug purposes",
}

PassThroughDesc describes the PassThrough filter.

Functions

This section is empty.

Types

type Base

type Base struct{}

Base is a nop implementation of baker.Filter useful to be embedded in tests and to redeclare one or more methods.

func (Base) Process

func (Base) Process(l baker.Record, next func(baker.Record))

func (Base) Stats

func (Base) Stats() baker.FilterStats

Jump to

Keyboard shortcuts

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