MCPcopy Create free account
hub / github.com/Automattic/mongoose / constructor

Method constructor

test/connection_server.js:9–14  ·  view source on GitHub ↗
(binary, options)

Source from the content-addressed store, hash-verified

7// https://github.com/mongodb-js/mongodb-topology-manager/blob/master/lib/server.js
8class Server {
9 constructor(binary, options) {
10 this.binary = binary;
11 this.port = options['port'] || 27017;
12 this.bind_ip = options['bind_ip'] || '127.0.0.1';
13 this.dbpath = options['dbpath'] || './data';
14 }
15
16 // Start server
17 start() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected