summaryrefslogtreecommitdiff
path: root/internal/grpc_test/echo.proto
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2022-05-07 11:57:48 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2022-05-07 11:57:48 +0100
commitf36b620ffb95e14ced6b9f21bad1df153f560109 (patch)
tree2d31b2fccc416cf79d7d5491cf44431066307334 /internal/grpc_test/echo.proto
parentfd7dcf508a153ddb8c9bc7ff50b4a406a25eb67c (diff)
Move gRPC tests under internal/
Diffstat (limited to 'internal/grpc_test/echo.proto')
-rw-r--r--internal/grpc_test/echo.proto18
1 files changed, 18 insertions, 0 deletions
diff --git a/internal/grpc_test/echo.proto b/internal/grpc_test/echo.proto
new file mode 100644
index 0000000..513a7bc
--- /dev/null
+++ b/internal/grpc_test/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;
+}