mirror of
https://github.com/grassrootseconomics/cic-chain-events.git
synced 2024-11-16 13:06:46 +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.