Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaymentListener ¶
type PaymentListener struct {
// contains filtered or unexported fields
}
PaymentListener is listening for a new payments received by ReceivingAccount
func NewPaymentListener ¶
func NewPaymentListener( config *config.Config, database db.Database, horizon horizon.ClientInterface, now func() time.Time, ) (pl PaymentListener, err error)
NewPaymentListener creates a new PaymentListener
func (*PaymentListener) Listen ¶
func (pl *PaymentListener) Listen() (err error)
Listen starts listening for new payments
func (*PaymentListener) ReprocessPayment ¶
func (pl *PaymentListener) ReprocessPayment(payment horizon.Payment, force bool) error
Click to show internal directories.
Click to hide internal directories.