userver: samples/grpc_service/proto/samples/greeter.proto
Loading...
Searching...
No Matches
samples/grpc_service/proto/samples/greeter.proto
syntax = "proto3";
package samples.api;
service GreeterService {
rpc SayHello(GreetingRequest) returns(GreetingResponse) {}
rpc SayHelloResponseStream(GreetingRequest) returns(stream GreetingResponse) {}
rpc SayHelloRequestStream(stream GreetingRequest) returns(GreetingResponse) {}
rpc SayHelloStreams(stream GreetingRequest) returns(stream GreetingResponse) {}
}
message GreetingRequest {
string name = 1;
}
message GreetingResponse {
string greeting = 1;
}