Documentation ¶
Overview ¶
Package mock_rabbitmq is a generated GoMock package.
Index ¶
- type MockAMQPClient
- func (m *MockAMQPClient) Close() error
- func (m *MockAMQPClient) EXPECT() *MockAMQPClientMockRecorder
- func (m *MockAMQPClient) ExchangeDeclare(arg0, arg1 string, arg2, arg3, arg4, arg5 bool, arg6 amqp091.Table) error
- func (m *MockAMQPClient) Listen(arg0 context.Context, arg1, arg2, arg3 string, ...) (<-chan amqp091.Delivery, error)
- func (m *MockAMQPClient) PublishWithContext(arg0 context.Context, arg1, arg2 string, arg3, arg4 bool, ...) error
- type MockAMQPClientMockRecorder
- func (mr *MockAMQPClientMockRecorder) Close() *gomock.Call
- func (mr *MockAMQPClientMockRecorder) ExchangeDeclare(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockAMQPClientMockRecorder) Listen(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
- func (mr *MockAMQPClientMockRecorder) PublishWithContext(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- type MockLndHubService
- func (m *MockLndHubService) EXPECT() *MockLndHubServiceMockRecorder
- func (m *MockLndHubService) GetAllPendingPayments(arg0 context.Context) ([]models.Invoice, error)
- func (m *MockLndHubService) GetTransactionEntryByInvoiceId(arg0 context.Context, arg1 int64) (models.TransactionEntry, error)
- func (m *MockLndHubService) HandleFailedPayment(arg0 context.Context, arg1 *models.Invoice, arg2 models.TransactionEntry, ...) error
- func (m *MockLndHubService) HandleSuccessfulPayment(arg0 context.Context, arg1 *models.Invoice, arg2 models.TransactionEntry) error
- type MockLndHubServiceMockRecorder
- func (mr *MockLndHubServiceMockRecorder) GetAllPendingPayments(arg0 interface{}) *gomock.Call
- func (mr *MockLndHubServiceMockRecorder) GetTransactionEntryByInvoiceId(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLndHubServiceMockRecorder) HandleFailedPayment(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockLndHubServiceMockRecorder) HandleSuccessfulPayment(arg0, arg1, arg2 interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockAMQPClient) EXPECT() *MockAMQPClientMockRecorder
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 ¶
func (m *MockLndHubService) EXPECT() *MockLndHubServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLndHubService) GetAllPendingPayments ¶
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.