Skip to content
/ emcd Public
forked from bukalapak/emcd

Text Protocol Elixir Memcached Client

Notifications You must be signed in to change notification settings

KKStream/emcd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%