Current section

Files

Jump to
urbit_ex lib urbit_ex.ex
Raw

lib/urbit_ex.ex

defmodule UrbitEx do
@moduledoc """
Main API for the UrbitEx Package.
Initializes the Urbit ship, logs in, opens an Eyre channel and starts an Server-side event pipeline.
"""
@doc """
Starts the Urbit instance.
## Examples
iex> UrbitEx.start("http://localhost:8080", "sampel-codnet-somtin-somtin")
"""
def start(url, code) do
UrbitEx.Server.start_link(url: url, code: code)
end
end