mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 09:40:24 +08:00
17 lines
211 B
Protocol Buffer
17 lines
211 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package hello;
|
||
|
|
||
|
option go_package = "./hello";
|
||
|
|
||
|
message HelloReq {
|
||
|
string in = 1;
|
||
|
}
|
||
|
|
||
|
message HelloResp {
|
||
|
string msg = 1;
|
||
|
}
|
||
|
|
||
|
service Greet {
|
||
|
rpc SayHello(HelloReq) returns (HelloResp);
|
||
|
}
|