rabbitmq

package
v1.31.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

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

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

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 string) (*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 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

NewProducerRabbitMQ returns a new instance of ProducerRabbitMQRepository using the given rabbitmq connection.

func (*ProducerRabbitMQRepository) ProducerDefault

func (prmq *ProducerRabbitMQRepository) ProducerDefault(message string) (*string, error)

type ProducerRepository added in v1.29.0

type ProducerRepository interface {
	ProducerDefault(message string) (*string, error)
}

ProducerRepository provides an interface for Producer related to rabbitmq.

Jump to

Keyboard shortcuts

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