summaryrefslogtreecommitdiff
path: root/grpc_testing/echo.proto
diff options
context:
space:
mode:
Diffstat (limited to 'grpc_testing/echo.proto')
-rw-r--r--grpc_testing/echo.proto18
1 files changed, 18 insertions, 0 deletions
diff --git a/grpc_testing/echo.proto b/grpc_testing/echo.proto
new file mode 100644
index 0000000..9b1ffff
--- /dev/null
+++ b/grpc_testing/echo.proto
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: CC0-1.0
+
+syntax = "proto3";
+
+package grpc_testing;
+option go_package = "grpc_testing/";
+
+service Echo {
+ rpc Echo(EchoRequest) returns (EchoResponse);
+}
+
+message EchoRequest {
+ string message = 1;
+}
+
+message EchoResponse {
+ string message = 1;
+}