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