Bus
Bus copied to clipboard
Pure Mqtt client written in Elixir for Elixir
Quick Start
If available in Hex, the package can be installed as:
-
Add
busto your list of dependencies inmix.exs:def deps do [{:bus, "~> 0.2.0", runtime: false}] end -
Create your module and add
use Businto your module.defmodule Asdf.Bus do use Bus def start_link(_args) do Bus.start_link(__MODULE__, []) end end -
Add below details into your supervisor's children list.
children = [ %{ id: Asdf.Bus, start: {Asdf.Bus, :start_link, [[]]} } ]Where Assdf is the module that will implement behaviour
Bus.
Note
Detailed Documentation is coming soon.