Memcached client for Elixir
defp deps() do
[{:memcachex, "~> 0.4"}]
end
Memcachex comes with two kinds of API, a high level one named
Memcache
which provides functions to perform most of the common
usecases and a low level one named Memcache.Connection
which
provides a less restrictive API. See the
documentation for more information
{:ok, pid} = Memcache.start_link()
{:ok} = Memcache.set(pid, "hello", "world")
{:ok, "world"} = Memcache.get(pid, "hello")
See test folder for further examples.