bus

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FallbackTopic                = "NEW_EVENT"
	CommittedTransactions string = "COMMITTED_TRANSACTIONS"
	SavedMetadata         string = "SAVED_METADATA"
	UpdatedMapping        string = "UPDATED_MAPPING"
	RevertedTransaction   string = "REVERTED_TRANSACTION"
)

Variables

This section is empty.

Functions

func LedgerMonitorModule

func LedgerMonitorModule() fx.Option

func NewLedgerMonitor

func NewLedgerMonitor(publisher message.Publisher, opts ...MonitorOption) *ledgerMonitor

func ProvideMonitorOption

func ProvideMonitorOption(constructor interface{}) fx.Option

Types

type MonitorOption

type MonitorOption func(monitor *ledgerMonitor)

func WithLedgerMonitorGlobalTopic

func WithLedgerMonitorGlobalTopic(v string) MonitorOption

func WithLedgerMonitorTopic

func WithLedgerMonitorTopic(key string, v string) MonitorOption

func WithLedgerMonitorTopics

func WithLedgerMonitorTopics(kv map[string]string) MonitorOption

Jump to

Keyboard shortcuts

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