mirror of
https://github.com/grassrootseconomics/cic-chain-events.git
synced 2024-11-20 06:56:45 +01:00
9 lines
269 B
Go
9 lines
269 B
Go
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)
|
|
}
|