The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Alexander Polcyn f5521c33f9 Revert "Merge branch 'master' into v1.3.x" 8 years ago
..
route_guide Revert "Merge branch 'master' into v1.3.x" 8 years ago
README.md Use grpc-tools npm package in readme 8 years ago
greeter_client.js Update greeter_client.js 8 years ago
greeter_server.js Split Node examples into static and dynamic code generation examples 9 years ago
helloworld_grpc_pb.js Added comments to node generation, also refactored some plugin code 9 years ago
helloworld_pb.js Added comments to node generation, also refactored some plugin code 9 years ago

README.md

This is the static code generation variant of the Node examples. Code in these examples is pre-generated using protoc and the Node gRPC protoc plugin, and the generated code can be found in various *_pb.js files. The command line sequence for generating those files is as follows (assuming that protoc and grpc_node_plugin are present, and starting in the directory which contains this README.md file):

cd ../../protos
npm install -g grpc-tools
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:../node/static_codegen/ --grpc_out=../node/static_codegen --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` helloworld.proto
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:../node/static_codegen/route_guide/ --grpc_out=../node/static_codegen/route_guide/ --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` route_guide.proto