eventhandler

package
v0.0.0-...-fa32389 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BidCreatedEvent string = "bid.created"
)
View Source
const (
	InvoiceApprovedEvent string = "invoice.approved"
)

Variables

This section is empty.

Functions

func Hash

func Hash(data string) uint32

Types

type BidEventHandlers

type BidEventHandlers struct {
	// contains filtered or unexported fields
}

func NewBidEventHandlers

func NewBidEventHandlers(
	bidRepo bid.Repository,
	investorRepo investor.Repository,
	invoiceRepo invoice.Repository,
	ledgerRepo ledger.Repository,
	uowFactory unitofwork.Factory,
) *BidEventHandlers

func (*BidEventHandlers) BidCreatedHandler

func (ev *BidEventHandlers) BidCreatedHandler(data interface{})

type InvoiceEventHandlers

type InvoiceEventHandlers struct {
	// contains filtered or unexported fields
}

func NewInvoiceEventHandlers

func NewInvoiceEventHandlers(
	investorRepo investor.Repository,
	issuerRepo issuer.Repository,
	balanceRepo balance.Repository,
	ledgerRepo ledger.Repository,
	invoiceRepo invoice.Repository,
	uowFactory unitofwork.Factory,
) *InvoiceEventHandlers

func (*InvoiceEventHandlers) InvoiceApprovedHandler

func (ev *InvoiceEventHandlers) InvoiceApprovedHandler(data interface{})

Jump to

Keyboard shortcuts

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