kinesis-consumer/all_pass_filter.go
Harlow Ward 06b40e6ed8 Base pipeline components
* Create base Interfaces for Pipeline
* Add first base implementations for Pipeline
* Add initial test for core functionality
2014-11-14 20:45:34 -08:00

9 lines
232 B
Go

package connector
// A basic implementation of the Filter interface that returns true for all records.
type AllPassFilter struct{}
// Returns true for all records.
func (b *AllPassFilter) KeepRecord(m Model) bool {
return true
}