Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env escript
- %% -*- erlang -*-
- %%! -smp enable -name txn@127.0.0.1 -cookie antidote
- -mode(compile).
- main([Target]) ->
- erlang:set_cookie(node(), antidote),
- O = {a_set, antidote_crdt_gset, bucket},
- R = rpc:call(list_to_atom(Target), antidote, read_objects, [ignore, [], [O]]),
- io:format("~p~n", [R]).
Add Comment
Please, Sign In to add comment