consoleService object
module object
create a count down latch
Create master ConsoleService
construct parameter opts.port {String | Number} listen port for master console
Create monitor ConsoleService
construct parameter opts.type {String} server type, 'master', 'connector', etc. opts.id {String} server id opts.host {String} master server host opts.port {String | Number} master port
disable module in current server
run schedule job
argments
enable module in current server
export closure function out
outer function
inner function
Get the content of the script file
Check and invoke callback
List current modules
register a module service
consoleService object
adminConsole id/name
module object
Run the script on the specified server
Save a script file that posted from admin console
Get the count of elements of object
schedule console module