* Create base Interfaces for Pipeline * Add first base implementations for Pipeline * Add initial test for core functionality
7 lines
234 B
Go
7 lines
234 B
Go
package connector
|
|
|
|
// The Filter is associated with an Buffer. The Buffer may use the result of calling the
|
|
// KeepRecord() method to decide whether to store a record or discard it.
|
|
type Filter interface {
|
|
KeepRecord(m Model) bool
|
|
}
|