messageBroker

package
Version: v0.0.0-...-67b74e3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitMQMessageBroker

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

func NewRabbitMQMessageBroker

func NewRabbitMQMessageBroker(logger *zap.Logger, config *viper.Viper) *RabbitMQMessageBroker

func (*RabbitMQMessageBroker) Publish

func (messageBroker *RabbitMQMessageBroker) Publish(exchangeName string, exchangeType string, key string, payload []byte)

func (*RabbitMQMessageBroker) Subscribe

func (messageBroker *RabbitMQMessageBroker) Subscribe(exchangeName string, exchangeType string, key string, queueName string)

Source Files

Jump to

Keyboard shortcuts

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