Memcached client for Elixir
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docker
lib
test
.dialyzer_ignore
.formatter.exs
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
bench.exs
docker-compose.yml
mix.exs
mix.lock
profile.exs

README.md

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.