cic-chain-events/internal/filter/filter.go

9 lines
269 B
Go
Raw Normal View History

2023-01-05 12:45:09 +01:00
package filter
import "github.com/grassrootseconomics/cic-chain-events/internal/fetch"
// Filter defines a read only filter which must return next as true/false or an error
type Filter interface {
Execute(inputTransaction fetch.Transaction) (next bool, err error)
}