github.com/defanghe/fabric@v2.1.1+incompatible/internal/pkg/comm/testdata/grpc/test.proto (about) 1 /* 2 Copyright IBM Corp. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 syntax = "proto3"; 8 9 option go_package = "github.com/hyperledger/fabric/core/comm/testpb"; 10 11 message Empty {} 12 13 message Echo { 14 bytes payload = 1; 15 } 16 17 service TestService { 18 rpc EmptyCall(Empty) returns (Empty); 19 } 20 21 service EmptyService { 22 rpc EmptyCall(Empty) returns (Empty); 23 rpc EmptyStream(stream Empty) returns (stream Empty); 24 } 25 26 service EchoService { 27 rpc EchoCall(Echo) returns (Echo); 28 }