diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2021-06-02 12:48:59 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2021-06-02 12:48:59 +0100 |
| commit | ed34a23a259a53398cdb3c4cddf4099e0a81723d (patch) | |
| tree | 3df7720f10abf76c866d3067cfa8e3fd8d4cfb6d /grpc_testing/echo.proto | |
| parent | fd06c81a297abe152d000fa5009bf9f9693d4499 (diff) | |
Add gRPC tests
Those tests live in a separate Go module so that people will not depend
on gRPC libraries unintentionally.
Diffstat (limited to 'grpc_testing/echo.proto')
| -rw-r--r-- | grpc_testing/echo.proto | 18 |
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; +} |
