0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
This is a lightweight library that lets you execute ad hoc memcache commands to a designated host and port.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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.