Lapin.Exchange (lapin v1.0.3) View Source

Lapin Exchange

Link to this section Summary

Link to this section Types

Specs

name() :: String.t()

Specs

routing_key() :: String.t()

Specs

t() :: %Lapin.Exchange{
  binds: [],
  name: name(),
  options: Keyword.t(),
  type: type()
}

Exchange

Specs

type() :: :direct | :fanout | :topic

Link to this section Functions

Specs

declare(t(), AMQP.Channel.t()) :: :ok | {:error, term()}

Specs

new(String.t(), Keyword.t()) :: %Lapin.Exchange{
  binds: term(),
  name: term(),
  options: term(),
  type: term()
}