var util = require('util'),
    Controller = require('ranac');

function HelloWorld(settings) {
	Controller.call(this);

	// ...
}

util.inherits(HelloWorld, Controller);
module.exports = HelloWorld;

HelloWorld.prototype.requestHandler = function requestHandler(handler) {
	var response = handler.response;

	response.writeHead(200, {'Content-Type': 'text/plain'});
	response.end('Hello World!\n');
};
