0.1.14 • Published 5 years ago

@architect-io/node-launcher v0.1.14

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
5 years ago

architect-node-launcher

Node.js launcher for the architect CLI

Build Version License oclif

Injection Schema

Example .proto file

syntax = "proto3";

service MyService {
  rpc ServiceMethod (MyRequest) returns (MyResponse) {}
}

message MyRequest {
  // ...
}
``
message MyResponse {
  // ...
}

Example architect.json

{
  "name": "my-service",
  "main": "index.js",
  "proto": "main.proto",
  "dependencies": {
    "dependency-name": "1.2.3"
  }
}

Main file schema

// Instance of service will be constructed with location-aware GRPC stubs
class MyService {
  constructor(dependency_1) {
    this.dependency_1 = dependency_1;
  }

  // GRPC methods matching those cited in the corresponding Protobuf service...
  ServiceMethod(call, callback) {
    // ...
  }
}

MyService.dependencies = ['dependency-name'];

module.exports = MyService;
0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago