Documentation ¶
Overview ¶
Package rabbitmq is a generated GoMock package.
Package rabbitmq is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerRabbitMQRepository ¶
type ConsumerRabbitMQRepository struct {
// contains filtered or unexported fields
}
ConsumerRabbitMQRepository is a rabbitmq implementation of the consumer
func NewConsumerRabbitMQ ¶
func NewConsumerRabbitMQ(c *mrabbitmq.RabbitMQConnection) *ConsumerRabbitMQRepository
NewConsumerRabbitMQ returns a new instance of ConsumerRabbitMQRepository using the given rabbitmq connection.
func (*ConsumerRabbitMQRepository) ConsumerDefault ¶
func (crmq *ConsumerRabbitMQRepository) ConsumerDefault(response chan string)
type ConsumerRepository ¶ added in v1.29.0
type ConsumerRepository interface {
ConsumerDefault(message chan string)
}
ConsumerRepository provides an interface for Consumer related to rabbitmq.
type MockConsumerRepository ¶ added in v1.29.0
type MockConsumerRepository struct {
// contains filtered or unexported fields
}
MockConsumerRepository is a mock of ConsumerRepository interface.
func NewMockConsumerRepository ¶ added in v1.29.0
func NewMockConsumerRepository(ctrl *gomock.Controller) *MockConsumerRepository
NewMockConsumerRepository creates a new mock instance.
func (*MockConsumerRepository) ConsumerDefault ¶ added in v1.29.0
func (m *MockConsumerRepository) ConsumerDefault(arg0 chan string)
ConsumerDefault mocks base method.
func (*MockConsumerRepository) EXPECT ¶ added in v1.29.0
func (m *MockConsumerRepository) EXPECT() *MockConsumerRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockConsumerRepositoryMockRecorder ¶ added in v1.29.0
type MockConsumerRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockConsumerRepositoryMockRecorder is the mock recorder for MockConsumerRepository.
func (*MockConsumerRepositoryMockRecorder) ConsumerDefault ¶ added in v1.29.0
func (mr *MockConsumerRepositoryMockRecorder) ConsumerDefault(arg0 any) *gomock.Call
ConsumerDefault indicates an expected call of ConsumerDefault.
type MockProducerRepository ¶ added in v1.29.0
type MockProducerRepository struct {
// contains filtered or unexported fields
}
MockProducerRepository is a mock of ProducerRepository interface.
func NewMockProducerRepository ¶ added in v1.29.0
func NewMockProducerRepository(ctrl *gomock.Controller) *MockProducerRepository
NewMockProducerRepository creates a new mock instance.
func (*MockProducerRepository) EXPECT ¶ added in v1.29.0
func (m *MockProducerRepository) EXPECT() *MockProducerRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProducerRepository) ProducerDefault ¶ added in v1.29.0
func (m *MockProducerRepository) ProducerDefault(arg0 context.Context, arg1, arg2 string, arg3 mmodel.Queue) (*string, error)
ProducerDefault mocks base method.
type MockProducerRepositoryMockRecorder ¶ added in v1.29.0
type MockProducerRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockProducerRepositoryMockRecorder is the mock recorder for MockProducerRepository.
func (*MockProducerRepositoryMockRecorder) ProducerDefault ¶ added in v1.29.0
func (mr *MockProducerRepositoryMockRecorder) ProducerDefault(arg0, arg1, arg2, arg3 any) *gomock.Call
ProducerDefault indicates an expected call of ProducerDefault.
type ProducerRabbitMQRepository ¶
type ProducerRabbitMQRepository struct {
// contains filtered or unexported fields
}
ProducerRabbitMQRepository is a rabbitmq implementation of the producer
func NewProducerRabbitMQ ¶
func NewProducerRabbitMQ(c *mrabbitmq.RabbitMQConnection) *ProducerRabbitMQRepository
NewProducerRabbitMQ returns a new instance of ProducerRabbitMQRepository using the given rabbitmq connection.