Awesome
SSDB client
SSDB client for Elixir
Installation
Releases are published through hex.pm. Add as a dependency in your mix.exs file:
defp deps do
[ { :ssdb, "~> 0.3.0" } ]
end
Example:
Interactive Elixir (1.0.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> {:ok, pid} = SSDB.start
{:ok, #PID<0.79.0>}
iex(2)> SSDB.query pid, ["set", "ssdb", "cool"]
{:ok, ["1"]}
iex(3)> SSDB.query ["get", "ssdb"]
{:ok, ["cool"]}
iex(4)> SSDB.query ["exists", "ssdb"]
{:ok, ["1"]}
iex(5)>