conejo v0.5.0 Conejo.Connection View Source

Conejo.Connection will be in control of the unique connection to RabbitMQ (AMQP Broker).

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

It creates a new channel

It starts (linked) a new Conejo.Connection

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function new_channel() View Source
new_channel() :: {:ok, AMQP.Channel} | {:error, String.t()}

It creates a new channel

It starts (linked) a new Conejo.Connection