MCPcopy Create free account
hub / github.com/acode/cli / constructor

Method constructor

cli/local_gateway.js:10–16  ·  view source on GitHub ↗
(cfg)

Source from the content-addressed store, hash-verified

8class LocalGateway extends Gateway {
9
10 constructor (cfg) {
11 cfg = cfg || {};
12 cfg.name = 'LocalGateway';
13 cfg.defaultTimeout = 120000;
14 super(cfg);
15 this._maxResultLogLength = 128;
16 }
17
18 formatName (name) {
19 return chalk.grey(`[${chalk.green(this.name)}]`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected