Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaymentProcessor ¶
type PaymentProcessor struct {
// contains filtered or unexported fields
}
func NewPaymentProcessor ¶
func NewPaymentProcessor(ctx context.Context, dbConnPool *pgxpool.Pool, c *dto.DaemonsConfig, log *zerolog.Logger) (*PaymentProcessor, error)
func (*PaymentProcessor) HandleNewInvoice ¶
func (p *PaymentProcessor) HandleNewInvoice(req *dto.NewInvoiceRequest) (*db.Invoice, error)
func (*PaymentProcessor) NewInvoicesChan ¶
func (p *PaymentProcessor) NewInvoicesChan() <-chan db.Invoice
Click to show internal directories.
Click to hide internal directories.