Lapin Exchange
Exchange
name() :: String.t()
routing_key() :: String.t()
t() :: %Lapin.Exchange{ binds: [], name: name(), options: Keyword.t(), type: type() }
type() :: :direct | :fanout | :topic
declare(t(), AMQP.Channel.t()) :: :ok | {:error, term()}
new(String.t(), Keyword.t()) :: %Lapin.Exchange{ binds: term(), name: term(), options: term(), type: term() }