node-webot/co-wechat — pull request #1 by ifeiteng (2014-11-12 06:59:33+00:00)
Title: finish handler

```javascript
var app = require('koa')();
var wechat = require('../lib/wechat');

var config = {
path: '/wx/api',
token: 'feit'
};

app.use(wechat(config).all(function *() {
console.log(this.weixin.Content);

}).text(function *() {
this.body = this.weixin.Content;

}).middlewarify());

app.listen(3000, function () {
console.log('wechat server start!');
});
```