gorush/rpc/example/node
dependabot[bot] 61af86605e
chore(deps): Bump tar from 6.1.6 to 6.1.11 in /rpc/example/node (#630)
Bumps [tar](https://github.com/npm/node-tar) from 6.1.6 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.6...v6.1.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-01 22:23:33 +08:00
..
.gitignore feat(grpc): add node.js example. (#260) 2017-07-25 22:33:06 +08:00
README.md chore: replace yarn with npm (#434) 2019-10-27 12:13:40 +08:00
client.js feat(grcp): support MutableContent for ios (#332) 2018-01-16 11:26:45 +08:00
gorush_grpc_pb.js chore: replace yarn with npm (#434) 2019-10-27 12:13:40 +08:00
gorush_pb.js chore(grpc): support Priority tag 2020-09-27 12:11:35 +08:00
package-lock.json chore(deps): Bump tar from 6.1.6 to 6.1.11 in /rpc/example/node (#630) 2021-09-01 22:23:33 +08:00
package.json chore(deps): bump grpc from 1.24.1 to 1.24.9 in /rpc/example/node (#573) 2021-07-11 20:38:53 +08:00

README.md

gRPC in 3 minutes (Node.js)

PREREQUISITES

node: This requires Node 12.x or greater.

INSTALL

npm install
npm install -g grpc-tools

Node gRPC protoc

cd $GOPATH/src/github.com/appleboy/gorush
protoc -I rpc/proto rpc/proto/gorush.proto --js_out=import_style=commonjs,binary:rpc/example/node/ --grpc_out=rpc/example/node/ --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin`