Skip to content

syohex/emacs-memcached

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memcached.el

libmemcached binding of Emacs Lisp. This package is inspired by mruby-memcached

Screenshot

memcached

Interfaces

(memcached-init server)

Connect to server and return memcached state instance.

(memcached-server-add state host port)

Add server(host:port) to memcached state.

(memcached-close state)

Close connection

(memcached-set state key value &optional (expire 0))

Set value related to key. Both key and value are converted into string. If key-value pair is already existed, then it is overwritten. expire is seconds.

(memcached-add state key value &optional (expire 0))

Like set, but only stores if the key doesn't already exist.

(memcached-get state key)

Get value related to key. If value is not found, then return nil.

(memcached-delete state key)

Delete value related to key.

About

libmemcached binding of Emacs Lisp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published