Gogs bef6e57d0d first commit vor 3 Wochen
..
route_guide bef6e57d0d first commit vor 3 Wochen
README.md bef6e57d0d first commit vor 3 Wochen
greeter_client.js bef6e57d0d first commit vor 3 Wochen
greeter_server.js bef6e57d0d first commit vor 3 Wochen
helloworld_grpc_pb.js bef6e57d0d first commit vor 3 Wochen
helloworld_pb.js bef6e57d0d first commit vor 3 Wochen

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=grpc_js:../node/static_codegen helloworld.proto
grpc_tools_node_protoc --js_out=import_style=commonjs,binary:../node/static_codegen/route_guide/ --grpc_out=grpc_js:../node/static_codegen/route_guide/ route_guide.proto