aboutsummaryrefslogtreecommitdiff
path: root/tests/bcr/proto/foo.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bcr/proto/foo.proto')
-rw-r--r--tests/bcr/proto/foo.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/bcr/proto/foo.proto b/tests/bcr/proto/foo.proto
new file mode 100644
index 00000000..71980226
--- /dev/null
+++ b/tests/bcr/proto/foo.proto
@@ -0,0 +1,15 @@
+syntax = "proto3";
+
+package tests.bcr.proto;
+option go_package = "example.com/foo_proto";
+
+import "google/protobuf/empty.proto";
+
+message Foo {
+ int64 value = 1;
+ google.protobuf.Empty empty = 2;
+}
+
+service Fooer {
+ rpc RoundTripFoo (Foo) returns (Foo) {}
+}