mirror of
https://github.com/grassrootseconomics/cic-chain-events.git
synced 2024-11-20 14:56:47 +01:00
232 B
232 B
Writing filters
Filters must conform to the interface:
type Filter interface {
Execute(ctx context.Context, inputTransaction fetch.Transaction) (next bool, err error)
}
See examples in the internal/filter
folder.