0.1.0 • Published 10 years ago

rapid-memcache v0.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

RAPID-MEMCACHE

node.js Memcached 客户端

###安装

npm install rapid-memcache

###使用

var cache = require('../').instance({
    host: '10.0.0.222', // default is '127.0.0.1'
    port: 11211, // default is 11211
    user: "username",
    password: 'password'
});
cache.set('foo', 'bar').then(function(){
    cache.get('foo').then(function(ret){
        ...
    });
});

更多API详情参考 clouda+

0.1.0

10 years ago