https://github.com/abitofhelp/helloworld-tonic-bsr
A Rust-based protobuf/gRPC example using buf.Build BSR.
https://github.com/abitofhelp/helloworld-tonic-bsr
bsr grpc protobuf rust
Last synced: 19 days ago
JSON representation
A Rust-based protobuf/gRPC example using buf.Build BSR.
- Host: GitHub
- URL: https://github.com/abitofhelp/helloworld-tonic-bsr
- Owner: abitofhelp
- License: other
- Created: 2023-10-22T07:53:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-28T04:28:24.000Z (over 2 years ago)
- Last Synced: 2025-10-05T18:43:53.874Z (8 months ago)
- Topics: bsr, grpc, protobuf, rust
- Language: Rust
- Homepage: https://www.abitofhelp.com
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# helloworld-tonic-bsr
A Rust-based protobuf/gRPC example using buf.Build BSR.
## Example grpcurl commands:
### SayHello:
grpcurl -plaintext -import-path "./proto/helloworld/v1" -proto helloworld.proto -d '{"name": "Tonic"}' '[::1]:50051'
helloworld.v1.GreeterService/SayHello
{ "message": "Hello Tonic!" }
### Describe GreeterService:
grpcurl --plaintext --import-path "./proto/helloworld/v1" -proto helloworld.proto describe helloworld.v1.GreeterService
helloworld.v1.GreeterService is a service:
service GreeterService {
rpc SayHello ( .helloworld.v1.SayHelloRequest ) returns ( .helloworld.v1.SayHelloResponse );
}