mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 09:00:20 +08:00
ca3c687f1c
* Add group & compatible flag * Add group & compatible flag * Support for multiple rpc service generation and rpc grouping * Support for multiple rpc service generation and rpc grouping * Format code * Format code * Add comments * Fix unit test * Refactor function name * Add example & Update grpc readme * go mod tidy * update mod * update mod
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);
|
|
} |