Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (9 sloc) 336 Bytes
#!/usr/bin/env escript
%%! -pa ebin -pa deps/mochiweb/ebin
main(_) ->
inets:start(),
{ok, Pid} = lockstep:start("http://0.0.0.0:4567/servers/", { id, ip, port }, "servers.dets"),
Table = lockstep:ets(Pid),
io:format("Have ets table: ~p~n",[Table]),
io:format("Dump -> ~p~n",[ets:tab2list(Table)]),
receive ok -> ok end.