helloworld-tonic-bsr

Crates.iohelloworld-tonic-bsr
lib.rshelloworld-tonic-bsr
version0.3.0
sourcesrc
created_at2023-10-22 08:35:53.308981
updated_at2023-10-27 01:02:22.087676
descriptionA Rust-based protobuf/gRPC example using buf.Build BSR.
homepagehttps://www.abitofhelp.com
repositoryhttps://github.com/abitofhelp/helloworld-tonic-bsr.git
max_upload_size
id1010448
size71,625
Michael Gardner (abitofhelp)

documentation

README

helloworld-tonic-bsr

A Rust-based protobuf/gRPC example using buf.Build BSR. Please visit the repository to view the complete solution: client, server, and lib.

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 );

}

Commit count: 32

cargo fmt