UNPKG

pomelo

Version:

Pomelo is a fast, scalable game server framework for [node.js](http://nodejs.org). It provides the basic development framework and many related components, including libraries and tools. Pomelo is also suitable for real-time web applications; its distri

8 lines (7 loc) 256 B
var ChannelService = require('../common/service/channelService'); module.exports = function(app, opts) { var service = new ChannelService(app, opts); app.set('channelService', service, true); service.name = '__channel__'; return service; };