Memcache

Build Status

Memcached client for Elixir

Installation

defp deps() do
  [{:memcachex, "~> 0.2.1"}]
end

defp application() do
  [applications: [:logger, :memcachex]]
end

Overview

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 documenation for more information

Example

{ :ok, pid } = Memcache.start_link()
{ :ok } = Memcache.set(pid, "hello", "world")
{ :ok, "world" } = Memcache.get(pid, "hello")

See test folder for further examples.