@architect-io/node-launcher
Launcher for Architect.io supporting node services
Last updated 5 months ago by tjhiggins .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @architect-io/node-launcher 
SYNC missed versions from official npm registry.

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;

Current Tags

  • 0.1.14                                ...           latest (5 months ago)

20 Versions

  • 0.1.14                                ...           5 months ago
  • 0.1.13                                ...           5 months ago
  • 0.1.12                                ...           7 months ago
  • 0.1.11                                ...           7 months ago
  • 0.1.10                                ...           7 months ago
  • 0.1.9                                ...           8 months ago
  • 0.1.8                                ...           8 months ago
  • 0.1.7                                ...           8 months ago
  • 0.1.6                                ...           9 months ago
  • 0.1.2                                ...           9 months ago
  • 0.1.1                                ...           9 months ago
  • 0.1.0                                ...           10 months ago
  • 0.0.9                                ...           10 months ago
  • 0.0.8                                ...           10 months ago
  • 0.0.7                                ...           10 months ago
  • 0.0.6                                ...           10 months ago
  • 0.0.5                                ...           10 months ago
  • 0.0.4                                ...           10 months ago
  • 0.0.3                                ...           10 months ago
  • 0.0.2                                ...           10 months ago
Downloads
Today 0
This Week 0
This Month 21
Last Day 0
Last Week 21
Last Month 20
Dependencies (6)
Dev Dependencies (12)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |