HareMq.Ddp (hare_mq v0.1.0)

Summary

Functions

Link to this function

child_spec(opts)

Link to this function

handle_call(atom, _, conn)

Link to this function

handle_info(atom, state)

Link to this function

publish_message(message)

Func for publishing messages.

Examples

defmodule MyPublisher do
  use HareMq.Publisher, exchange: "my_exchange", routing_key: "my_routing_key"

  def publish() do
    message = %{key: "value"}
    HareMq.Publisher.publish_message(message)
  end
end
Link to this function

start_link(opts \\ [])