/memcachex

Memcached client for Elixir

Primary LanguageElixirMIT LicenseMIT

Memcache

Build Status Hex.pm

Memcached client for Elixir

Installation

defp deps() do
  [{:memcachex, "~> 0.4"}]
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 documentation 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.