RMQ v0.1.0-beta.1 RMQ.Conn behaviour View Source

A connection module

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(module, opts \\ [])

View Source

Link to this section Callbacks

Link to this callback

get()

View Source
get() :: {:ok, AMQP.Connection.t()} | {:error, :not_connected}
Link to this callback

init(atom, config)

View Source (optional)
init(:start, config :: Keyword.t()) :: Keyword.t()
Link to this callback

start_link(options)

View Source
start_link(options :: [GenServer.option()]) :: GenServer.on_start()