memcache-server-stream
memcache server protocol implemented on top of a duplex stream. add memcache protocol support to any node net.Server
examples
as a stream just pipe!
var mc = ; con;
for a simple server you can just use
var mc = ; var server = mc server
api
mc = exports function(cache object [optional])
- duplex stream ready for reading an writing memcache protocol
mc.server(cache object [optional])
- handy dandy pre-made net server setup to handle all connections
mc.mc(cache object [optional])
- factory for underlying protocol implementation
mc.mc.Mc
- contructor for underlying protocol implementation
"cache object"
- defaults to issacs lru-cache module
- must support sync get/set as functions at this time.