MCPcopy
hub / github.com/scality/cloudserver / startServer

Method startServer

lib/server.js:355–363  ·  view source on GitHub ↗
(listenOn, port, routeRequest)

Source from the content-addressed store, hash-verified

353 }
354
355 startServer(listenOn, port, routeRequest) {
356 if (listenOn.length > 0) {
357 listenOn.forEach(item => {
358 this._startServer(routeRequest.bind(this), item.port, item.ip);
359 });
360 } else if (port) {
361 this._startServer(routeRequest.bind(this), port);
362 }
363 }
364
365 initiateStartup(log) {
366 series([

Callers 3

initiateStartupMethod · 0.95
mainFunction · 0.95
mdserver.jsFile · 0.45

Calls 1

_startServerMethod · 0.95

Tested by

no test coverage detected