Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Execute ad hoc memcached commands.
tree: 52028bf8c3

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
LICENSE
README.md
Rakefile
VERSION
memcache_do.gemspec
memcache_do.rb

README.md

MemcacheDo

This is a lightweight library that lets you execute ad hoc memcache commands to a designated host and port. This code was extracted from the memcache-client library.

Usage

In its most simple form, you can use it like this:

MemcacheDo.exec('stats')

By default, it uses 'localhost:11211' as the host and port to connect to, but if you need to specify a host or port:

MemcacheDo.exec('stats', '1.2.3.4', '11222')

The command is executed exactly as you put it in except that a '\r\n' is appended to the end.

Something went wrong with that request. Please try again.