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