OSDN Git Service

Hulk did something
[bytom/vapor.git] / vendor / google.golang.org / grpc / reflection / grpc_testingv3 / testv3.proto
diff --git a/vendor/google.golang.org/grpc/reflection/grpc_testingv3/testv3.proto b/vendor/google.golang.org/grpc/reflection/grpc_testingv3/testv3.proto
new file mode 100644 (file)
index 0000000..1e17519
--- /dev/null
@@ -0,0 +1,21 @@
+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);
+}