10 lines
189 B
Protocol Buffer
10 lines
189 B
Protocol Buffer
|
import "google/api/annotations.proto";
|
||
|
|
||
|
service Greeter {
|
||
|
rpc SayHello (HelloRequest) returns (HelloReply) {
|
||
|
option (google.api.http) = {
|
||
|
get: "/v1/greeter/{name}"
|
||
|
};
|
||
|
}
|
||
|
}
|