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