Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitMQEndpoint ¶
type RabbitMQEndpoint struct { Connection *amqp.Connection Channel *amqp.Channel }
RabbitMQEndpoint defines the struct used by a RabbitMQ endpoint
func (*RabbitMQEndpoint) Close ¶
func (endpoint *RabbitMQEndpoint) Close() error
Close takes case of closing connection to the RabbitMQ broker
func (*RabbitMQEndpoint) Connect ¶
func (endpoint *RabbitMQEndpoint) Connect(config confighandler.Config) error
Connect exeuctes a connectiong to a RabbitMQ instance with specified values in confighandler.Config Writes the connection and open channel to communicate with Rabbit
Click to show internal directories.
Click to hide internal directories.