Skip to content

Commit

Permalink
Merge pull request #50 from ArthurClemens/patch-1
Browse files Browse the repository at this point in the history
Use Bolt.Sips approach to read app config
  • Loading branch information
florinpatrascu authored Aug 29, 2018
2 parents 1fe9374 + 5239c21 commit b4e274c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ $ MIX_ENV=test iex -S mix
Erlang/OTP 20 [erts-9.1.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Interactive Elixir (1.5.2) - press Ctrl+C to exit (type h() ENTER for help)
iex> {:ok, pid} = Bolt.Sips.start_link(url: "localhost")
iex> opts = Application.get_env(:bolt_sips, Bolt)
iex> {:ok, _pid} = Bolt.Sips.start_link(opts)
{:ok, #PID<0.185.0>}

iex> conn = Bolt.Sips.conn
Expand Down

0 comments on commit b4e274c

Please sign in to comment.