14 lines
185 B
Protocol Buffer
14 lines
185 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
service Greeter {
|
||
|
rpc Hello(HelloRequest) returns (HelloResponse) {}
|
||
|
}
|
||
|
|
||
|
message HelloRequest {
|
||
|
string name = 1;
|
||
|
}
|
||
|
|
||
|
message HelloResponse {
|
||
|
string greeting = 2;
|
||
|
}
|