Dispatcher for Railway-routes and Chungking controllers. (use with Express or Connect and Node.js)
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
package.json

README.md

Set route handler for railway-routes generated routes and Chungking controllers.

Install

npm install daobao;

Usage

var controllers = require('../controllers')
  , handler = require('daobao').assignHandler(controllers)
  , map = new require('railway-routes').Map(app, handler);