index.js
function routerCallback(req, res, callback) {
	var innerSelf = {
		req: req,
		res: res,
		send: function(data) {
			send.call(this, data);
		},
		setStatusCode: function(statusCode) {
			setStatusCode.call(this, statusCode);
		}
	};
	reqlog.info('inside routerCallback for endpoint: ', req.url);
	callback.call(innerSelf, req, res);
}
function routerCallback(req, res, callback) {
	var innerSelf = {
		req: req,
		res: res,
		send: function(data) {
			send.call(this, data);
		},
		setStatusCode: function(statusCode) {
			setStatusCode.call(this, statusCode);
		}
	};
	reqlog.info('inside routerCallback for endpoint: ', req.url);
	callback.call(innerSelf, req, res);
}
function routerCallback ( req , res , callback ) { var innerSelf = { req : req , res : res , send : function ( data ) { send . call ( this , data ) ; } , setStatusCode : function ( statusCode ) { setStatusCode . call ( this , statusCode ) ; } } ; reqlog . info ( 'inside routerCallback for endpoint: ' , req . url ) ; callback . call ( innerSelf , req , res ) ; }
Defines the endpoint callback passed into the router

create an object to apply as this in the callback
its used to be able to call the send function inside the callback
without having to also pass the req and res
@method routerCallback
@param  {object}       req      A request object
@param  {object}       res      A response object
@param  {Function}     callback The user defined endpoint callback
Defines the endpoint callback passed into the router