daisydemo
v1.4.0
Published
nodejs kinds of demos
Downloads
5
Readme
daisydemo
下面是redis pubsub 的使用方法:
var redis=require('./util/rediswrapper');
redis.pubSub.registerHandlers("shopping",msg=>console.log(msg));
redis.pubSub.subscribe("shopping");