rabbitmq

package
v1.48.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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 MockProducerRepository

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

MockProducerRepository is a mock of ProducerRepository interface.

func NewMockProducerRepository

func NewMockProducerRepository(ctrl *gomock.Controller) *MockProducerRepository

NewMockProducerRepository creates a new mock instance.

func (*MockProducerRepository) EXPECT

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

func (*MockProducerRepository) ProducerDefault

func (m *MockProducerRepository) ProducerDefault(arg0 context.Context, arg1, arg2 string, arg3 mmodel.Queue) (*string, error)

ProducerDefault mocks base method.

type MockProducerRepositoryMockRecorder

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

MockProducerRepositoryMockRecorder is the mock recorder for MockProducerRepository.

func (*MockProducerRepositoryMockRecorder) ProducerDefault

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

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

func (*ProducerRabbitMQRepository) ProducerDefault

func (prmq *ProducerRabbitMQRepository) ProducerDefault(ctx context.Context, exchange, key string, queueMessage mmodel.Queue) (*string, error)

type ProducerRepository

type ProducerRepository interface {
	ProducerDefault(ctx context.Context, exchange, key string, message mmodel.Queue) (*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