filters

package
v0.0.0-...-2e41b90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2022 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// the filter config cache will be checked against latest from db at most once per each of this interval.
	//lint:ignore ST1011, don't need the linter warn on literal assignment
	FilterConfigCheckIntervalSeconds time.Duration = 100
)
View Source
var (
	LOG = log.WithFields(log.F{
		"filters": "load",
	})
)

Functions

This section is empty.

Types

type AccountFilter

type AccountFilter interface {
	processors.LedgerTransactionFilterer
	RefreshAccountFilter(filterConfig *history.AccountFilterConfig) error
}

func NewAccountFilter

func NewAccountFilter() AccountFilter

type AssetFilter

type AssetFilter interface {
	processors.LedgerTransactionFilterer
	RefreshAssetFilter(filterConfig *history.AssetFilterConfig) error
}

func NewAssetFilter

func NewAssetFilter() AssetFilter

type Filters

type Filters interface {
	GetFilters(filterQ history.QFilter, ctx context.Context) []processors.LedgerTransactionFilterer
}

func NewFilters

func NewFilters() Filters

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL