From ed34a23a259a53398cdb3c4cddf4099e0a81723d Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Wed, 2 Jun 2021 12:48:59 +0100 Subject: Add gRPC tests Those tests live in a separate Go module so that people will not depend on gRPC libraries unintentionally. --- grpc_testing/echo.proto | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 grpc_testing/echo.proto (limited to 'grpc_testing/echo.proto') 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; +} -- cgit v1.2.3-70-g09d2