
commit a1a37d335a8e89ac89d85c00c8585d3fc02e064a Author: Josh Baker <joshbaker77@gmail.com> Date: Thu Oct 5 07:36:54 2017 -0700 use symlink instead of copy commit 96399c2c92620f633611c778e5473200bfd48d41 Author: Josh Baker <joshbaker77@gmail.com> Date: Thu Oct 5 07:19:26 2017 -0700 use dep for vendoring
22 lines
421 B
Protocol Buffer
22 lines
421 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package grpc.testingv3;
|
|
|
|
message SearchResponseV3 {
|
|
message Result {
|
|
string url = 1;
|
|
string title = 2;
|
|
repeated string snippets = 3;
|
|
}
|
|
repeated Result results = 1;
|
|
}
|
|
|
|
message SearchRequestV3 {
|
|
string query = 1;
|
|
}
|
|
|
|
service SearchServiceV3 {
|
|
rpc Search(SearchRequestV3) returns (SearchResponseV3);
|
|
rpc StreamingSearch(stream SearchRequestV3) returns (stream SearchResponseV3);
|
|
}
|