Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/streamrpcs/testdata/test.proto')
-rw-r--r--internal/streamrpcs/testdata/test.proto16
1 files changed, 16 insertions, 0 deletions
diff --git a/internal/streamrpcs/testdata/test.proto b/internal/streamrpcs/testdata/test.proto
new file mode 100644
index 000000000..cba0a3afa
--- /dev/null
+++ b/internal/streamrpcs/testdata/test.proto
@@ -0,0 +1,16 @@
+syntax = "proto3";
+
+package test.streamrpc;
+
+option go_package = "gitlab.com/gitlab-org/gitaly/v14/internal/streamrpc/testdata";
+
+import "streamrpc.proto";
+
+service Test {
+ rpc Stream(stream StreamRequest) returns (stream gitaly.StreamToken) {}
+}
+
+message StreamRequest {
+ bool fail = 1;
+ string string_field = 2;
+}