summaryrefslogtreecommitdiff
path: root/tests/plugins/grpc/configs/test.proto
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-09-16 21:24:13 +0300
committerGitHub <[email protected]>2021-09-16 21:24:13 +0300
commit337d292dd2d6ff0a555098b1970d8194d8df8bc2 (patch)
treea2ab31666f95813a592bea2b207f2db0ba188c92 /tests/plugins/grpc/configs/test.proto
parent5d2cd55ab522d4f1e65a833f91146444465a32ac (diff)
parentcc56349f3ad19aa54ae7900c50e018d757305804 (diff)
[#783]: feat(grpc): update GRPC plugin to RR `v2`
[#783]: feat(grpc): update GRPC plugin to RR `v2`
Diffstat (limited to 'tests/plugins/grpc/configs/test.proto')
-rw-r--r--tests/plugins/grpc/configs/test.proto33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/plugins/grpc/configs/test.proto b/tests/plugins/grpc/configs/test.proto
new file mode 100644
index 00000000..2e1c90a9
--- /dev/null
+++ b/tests/plugins/grpc/configs/test.proto
@@ -0,0 +1,33 @@
+syntax = "proto3";
+
+package service;
+option go_package = "./;";
+
+service Test {
+ rpc Echo (Message) returns (Message) {
+ }
+
+ rpc Throw (Message) returns (Message) {
+ }
+
+ rpc Die (Message) returns (Message) {
+ }
+
+ rpc Info (Message) returns (Message) {
+ }
+
+ rpc Ping (EmptyMessage) returns (EmptyMessage) {
+ }
+}
+
+message Message {
+ string msg = 1;
+}
+
+message EmptyMessage {
+}
+
+message DetailsMessageForException {
+ uint64 code = 1;
+ string message = 2;
+} \ No newline at end of file