cic-chain-events/docs/filters.md
Mohammed Sohail 42bc68024f
docs: add functionality, and usage
others:

* remove drop command from sql migration
2023-01-11 09:29:16 +00:00

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.