Sourced from grpc/grpc-go. Thanks!
This repo includes google's apis as a submodule, in order to import some of their .proto
files. Run git submodule upgdate --init --recusive
after cloning this repo to retrieve the files.
To generate grpc bindings for each language, you need to have protoc
, and each langague's plugin installed:
protoc
installation instructions- go plugin installation
- Rust gRPC bindings are generated by the
tonic
crate (included in project) - Node gRPC bindings are generated by the
grpc-js
module'sgrpc_tools_node_protoc
tool (included in projedct)
This repo includes a Justfile. Available recipes:
generate # Generate gRPC bindings for both projects
go-client # Run the go-based client
go-server # Run the go-based server
rust-client # Run the rust-based client
rust-server # Run the rust-based server
node-client # Run the typescript-based client