Repository URL to install this package:
|
Version:
1.2.14 ▾
|
"use strict";
var debug = require("../../")('http'),
http = require('http'),
name = 'My App'; // fake app
debug('booting %o', name);
http.createServer(function (req, res) {
debug(req.method + ' ' + req.url);
res.end('hello\n');
}).listen(3000, function () {
debug('listening');
}); // fake worker of some kind
require("./worker");