Last active
April 16, 2016 10:22
-
-
Save krakatoa/f4916bbdc05ca50b1953e310054df1ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iex(2)> RiemannProxy.Endpoint.create(1, 'localhost',5555,'tcp') | |
** (FunctionClauseError) no function clause matching in RiemannProxy.Endpoint.create/4 | |
(riemann_proxy) lib/riemann_proxy/endpoint.ex:5: RiemannProxy.Endpoint.create(1, 'localhost', 5555, 'tcp') | |
iex(2)> r RiemannProxy.Endpoint | |
lib/riemann_proxy/endpoint.ex:1: warning: redefining module RiemannProxy.Endpoint | |
{:reloaded, RiemannProxy.Endpoint, [RiemannProxy.Endpoint]} | |
iex(3)> RiemannProxy.Endpoint.create(1, 'localhost',5555,'tcp') | |
:ok | |
iex(4)> RiemannProxy.Endpoint.read(1) | |
[{:endpoint, 1, 'localhost', 5555, 'tcp'}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment