trpc.group/trpc-go/trpc-cmdline@v1.0.9/util/pb/testcase/helloworld-import-trpc.proto (about) 1 // Tencent is pleased to support the open source community by making tRPC available. 2 // 3 // Copyright (C) 2023 THL A29 Limited, a Tencent company. 4 // All rights reserved. 5 // 6 // If you have downloaded a copy of the tRPC source code from Tencent, 7 // please note that tRPC source code is licensed under the Apache 2.0 License, 8 // A copy of the Apache 2.0 License is included in this file. 9 10 syntax = "proto3"; 11 package helloworld; 12 13 option go_package="trpc.group/examples/helloworld"; 14 15 import "trpc/proto/trpc_options.proto"; 16 17 message HelloReq{} 18 message HelloRsp{} 19 20 service helloworld_svr { 21 rpc Hello(HelloReq) returns(HelloRsp) {option (trpc.alias) = "/AnotherRpcName"; }; 22 }