You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/example/rpc/remote/unary/greet.proto

18 lines
187 B
Protocol Buffer

4 years ago
syntax = "proto3";
package unary;
message Request {
string name = 1;
}
message Response {
string greet = 1;
}
service Greeter {
rpc greet(Request) returns (Response);
}