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.
17 lines
207 B
Protocol Buffer
17 lines
207 B
Protocol Buffer
4 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package check;
|
||
|
|
||
|
message checkReq {
|
||
|
string book = 1;
|
||
|
}
|
||
|
|
||
|
message checkResp {
|
||
|
bool found = 1;
|
||
|
int64 price = 2;
|
||
|
}
|
||
|
|
||
|
service checker {
|
||
|
rpc check(checkReq) returns(checkResp);
|
||
|
}
|