mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 18:00:24 +08:00
17 lines
207 B
Protocol Buffer
Executable File
17 lines
207 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
package check;
|
|
|
|
message checkReq {
|
|
string book = 1;
|
|
}
|
|
|
|
message checkResp {
|
|
bool found = 1;
|
|
int64 price = 2;
|
|
}
|
|
|
|
service checker {
|
|
rpc check(checkReq) returns(checkResp);
|
|
}
|