Documentation ¶
Index ¶
- type ProcessingProxyMock
- func (m *ProcessingProxyMock) BatchCheckIncomingTransactions(_ context.Context, transactionIDs []int64) error
- func (m *ProcessingProxyMock) BatchCheckInternalTransfers(_ context.Context, transactionIDs []int64) error
- func (m *ProcessingProxyMock) BatchCheckWithdrawals(_ context.Context, transactionIDs []int64) error
- func (m *ProcessingProxyMock) BatchCreateInternalTransfers(_ context.Context, balances []*wallet.Balance) (*processing.TransferResult, error)
- func (m *ProcessingProxyMock) BatchCreateWithdrawals(_ context.Context, paymentIDs []int64) (*processing.TransferResult, error)
- func (m *ProcessingProxyMock) BatchExpirePayments(_ context.Context, paymentIDs []int64) error
- func (m *ProcessingProxyMock) EnsureOutboundWallet(ctx context.Context, chain money.Blockchain) (*wallet.Wallet, bool, error)
- func (m *ProcessingProxyMock) SetupBatchCheckIncomingTransactions(transactionIDs []int64, err error)
- func (m *ProcessingProxyMock) SetupBatchCheckInternalTransfers(transactionIDs []int64, err error)
- func (m *ProcessingProxyMock) SetupBatchCheckWithdrawals(transactionIDs []int64, err error)
- func (m *ProcessingProxyMock) SetupBatchCreateInternalTransfers(balances []*wallet.Balance, result *processing.TransferResult, err error)
- func (m *ProcessingProxyMock) SetupBatchCreateWithdrawals(paymentIDs []int64, result *processing.TransferResult, err error)
- func (m *ProcessingProxyMock) SetupBatchExpirePayments(paymentsIDs []int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessingProxyMock ¶
type ProcessingProxyMock struct {
// contains filtered or unexported fields
}
ProcessingProxyMock proxies some methods of processing.Service and mocks others
func NewProcessingProxyMock ¶
func NewProcessingProxyMock(t *testing.T, service *processing.Service) *ProcessingProxyMock
func (*ProcessingProxyMock) BatchCheckIncomingTransactions ¶
func (m *ProcessingProxyMock) BatchCheckIncomingTransactions(_ context.Context, transactionIDs []int64) error
func (*ProcessingProxyMock) BatchCheckInternalTransfers ¶
func (m *ProcessingProxyMock) BatchCheckInternalTransfers(_ context.Context, transactionIDs []int64) error
func (*ProcessingProxyMock) BatchCheckWithdrawals ¶
func (m *ProcessingProxyMock) BatchCheckWithdrawals(_ context.Context, transactionIDs []int64) error
func (*ProcessingProxyMock) BatchCreateInternalTransfers ¶
func (m *ProcessingProxyMock) BatchCreateInternalTransfers( _ context.Context, balances []*wallet.Balance, ) (*processing.TransferResult, error)
func (*ProcessingProxyMock) BatchCreateWithdrawals ¶
func (m *ProcessingProxyMock) BatchCreateWithdrawals( _ context.Context, paymentIDs []int64, ) (*processing.TransferResult, error)
func (*ProcessingProxyMock) BatchExpirePayments ¶
func (m *ProcessingProxyMock) BatchExpirePayments(_ context.Context, paymentIDs []int64) error
func (*ProcessingProxyMock) EnsureOutboundWallet ¶
func (m *ProcessingProxyMock) EnsureOutboundWallet(ctx context.Context, chain money.Blockchain) (*wallet.Wallet, bool, error)
func (*ProcessingProxyMock) SetupBatchCheckIncomingTransactions ¶
func (m *ProcessingProxyMock) SetupBatchCheckIncomingTransactions(transactionIDs []int64, err error)
func (*ProcessingProxyMock) SetupBatchCheckInternalTransfers ¶
func (m *ProcessingProxyMock) SetupBatchCheckInternalTransfers(transactionIDs []int64, err error)
func (*ProcessingProxyMock) SetupBatchCheckWithdrawals ¶
func (m *ProcessingProxyMock) SetupBatchCheckWithdrawals(transactionIDs []int64, err error)
func (*ProcessingProxyMock) SetupBatchCreateInternalTransfers ¶
func (m *ProcessingProxyMock) SetupBatchCreateInternalTransfers( balances []*wallet.Balance, result *processing.TransferResult, err error, )
func (*ProcessingProxyMock) SetupBatchCreateWithdrawals ¶
func (m *ProcessingProxyMock) SetupBatchCreateWithdrawals( paymentIDs []int64, result *processing.TransferResult, err error, )
func (*ProcessingProxyMock) SetupBatchExpirePayments ¶
func (m *ProcessingProxyMock) SetupBatchExpirePayments(paymentsIDs []int64, err error)
Click to show internal directories.
Click to hide internal directories.