mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
14 lines
222 B
JavaScript
14 lines
222 B
JavaScript
|
|
var pmx = require('pmx');
|
|
|
|
pmx.action('ping', function(reply) {
|
|
return reply({ 'pong' : 'hehe' })
|
|
});
|
|
|
|
pmx.action('param', function(data, reply) {
|
|
return reply({ data : data })
|
|
});
|
|
|
|
setInterval(function() {
|
|
}, 1000);
|