mock_rabbitmq

package
v0.0.0-...-5abcb53 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_rabbitmq is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAMQPClient

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

MockAMQPClient is a mock of AMQPClient interface.

func NewMockAMQPClient

func NewMockAMQPClient(ctrl *gomock.Controller) *MockAMQPClient

NewMockAMQPClient creates a new mock instance.

func (*MockAMQPClient) Close

func (m *MockAMQPClient) Close() error

Close mocks base method.

func (*MockAMQPClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAMQPClient) ExchangeDeclare

func (m *MockAMQPClient) ExchangeDeclare(arg0, arg1 string, arg2, arg3, arg4, arg5 bool, arg6 amqp091.Table) error

ExchangeDeclare mocks base method.

func (*MockAMQPClient) Listen

func (m *MockAMQPClient) Listen(arg0 context.Context, arg1, arg2, arg3 string, arg4 ...func(rabbitmq.ListenOptions) rabbitmq.ListenOptions) (<-chan amqp091.Delivery, error)

Listen mocks base method.

func (*MockAMQPClient) PublishWithContext

func (m *MockAMQPClient) PublishWithContext(arg0 context.Context, arg1, arg2 string, arg3, arg4 bool, arg5 amqp091.Publishing) error

PublishWithContext mocks base method.

type MockAMQPClientMockRecorder

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

MockAMQPClientMockRecorder is the mock recorder for MockAMQPClient.

func (*MockAMQPClientMockRecorder) Close

func (mr *MockAMQPClientMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockAMQPClientMockRecorder) ExchangeDeclare

func (mr *MockAMQPClientMockRecorder) ExchangeDeclare(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

ExchangeDeclare indicates an expected call of ExchangeDeclare.

func (*MockAMQPClientMockRecorder) Listen

func (mr *MockAMQPClientMockRecorder) Listen(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

Listen indicates an expected call of Listen.

func (*MockAMQPClientMockRecorder) PublishWithContext

func (mr *MockAMQPClientMockRecorder) PublishWithContext(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

PublishWithContext indicates an expected call of PublishWithContext.

type MockLndHubService

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

MockLndHubService is a mock of LndHubService interface.

func NewMockLndHubService

func NewMockLndHubService(ctrl *gomock.Controller) *MockLndHubService

NewMockLndHubService creates a new mock instance.

func (*MockLndHubService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLndHubService) GetAllPendingPayments

func (m *MockLndHubService) GetAllPendingPayments(arg0 context.Context) ([]models.Invoice, error)

GetAllPendingPayments mocks base method.

func (*MockLndHubService) GetTransactionEntryByInvoiceId

func (m *MockLndHubService) GetTransactionEntryByInvoiceId(arg0 context.Context, arg1 int64) (models.TransactionEntry, error)

GetTransactionEntryByInvoiceId mocks base method.

func (*MockLndHubService) HandleFailedPayment

func (m *MockLndHubService) HandleFailedPayment(arg0 context.Context, arg1 *models.Invoice, arg2 models.TransactionEntry, arg3 error) error

HandleFailedPayment mocks base method.

func (*MockLndHubService) HandleSuccessfulPayment

func (m *MockLndHubService) HandleSuccessfulPayment(arg0 context.Context, arg1 *models.Invoice, arg2 models.TransactionEntry) error

HandleSuccessfulPayment mocks base method.

type MockLndHubServiceMockRecorder

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

MockLndHubServiceMockRecorder is the mock recorder for MockLndHubService.

func (*MockLndHubServiceMockRecorder) GetAllPendingPayments

func (mr *MockLndHubServiceMockRecorder) GetAllPendingPayments(arg0 interface{}) *gomock.Call

GetAllPendingPayments indicates an expected call of GetAllPendingPayments.

func (*MockLndHubServiceMockRecorder) GetTransactionEntryByInvoiceId

func (mr *MockLndHubServiceMockRecorder) GetTransactionEntryByInvoiceId(arg0, arg1 interface{}) *gomock.Call

GetTransactionEntryByInvoiceId indicates an expected call of GetTransactionEntryByInvoiceId.

func (*MockLndHubServiceMockRecorder) HandleFailedPayment

func (mr *MockLndHubServiceMockRecorder) HandleFailedPayment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

HandleFailedPayment indicates an expected call of HandleFailedPayment.

func (*MockLndHubServiceMockRecorder) HandleSuccessfulPayment

func (mr *MockLndHubServiceMockRecorder) HandleSuccessfulPayment(arg0, arg1, arg2 interface{}) *gomock.Call

HandleSuccessfulPayment indicates an expected call of HandleSuccessfulPayment.

Jump to

Keyboard shortcuts

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