Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitMQ ¶
type RabbitMQ struct {
// contains filtered or unexported fields
}
RabbitMQ represents RabbitMQ implementation
func NewRabbitMQ ¶
func NewRabbitMQ(conn *amqp.Connection) *RabbitMQ
NewRabbitMQ creates new RabbitMQ connection
func NewRabbitMQWithConfig ¶
func NewRabbitMQWithConfig(conn *amqp.Connection, messaging *config.Messaging) *RabbitMQ
NewRabbitMQWithConfig creates new RabbitMQ with messaging config
func (*RabbitMQ) ConsumeMessages ¶
ConsumeMessages consumes messages from RabbitMQ
func (*RabbitMQ) IsConnected ¶
IsConnected checks if the RabbitMQ connection is valid
Click to show internal directories.
Click to hide internal directories.