kinesis-consumer/all_pass_filter.go
Harlow Ward b98adcf659 Rename Model to Record
To match the DSL of the Kinesis library rename the Model interface to
Record.
2014-11-15 15:54:54 -08:00

9 lines
233 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(r Record) bool {
return true
}