Skip to content
bukalapakPublic

About

Text Protocol Elixir Memcached Client

Topics

Resources

Stars

3 stars

Watchers

313 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emcd

Emcd is Memcached Client written using Elixir. Emcd uses text protocol instead of binary protocol.

Installation

Add Emcd to your mix.exs dependencies:

def deps do
  [{:emcd, "~> 0.1.0", github: "bukalapak/emcd"}]
end

Add :emcd to your :applications list if you wish the application to start automatically.

Configuration

Complete configuration options with default values:

config :emcd,
  host: "127.0.0.1",
  port: 3000,
  timeout: 5000,
  namespace: nil

Usage

iex> Emcd.start([], []) # if :emcd not started automatically.
{:ok, #Port<0.3561>}
iex> Emcd.set("key", "value")
{:ok, "STORED"}
iex> Emcd.get("key")
{:ok, "value"}

About

Text Protocol Elixir Memcached Client

Topics

Resources

Stars

3 stars

Watchers

313 watching

Forks

Releases

Packages

Contributors

Languages