trpc.group/trpc-go/trpc-cmdline@v1.0.9/parser/testcase/importpath/case1/hello.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 hello;
    12  
    13  option go_package="trpc.group/hello";
    14  
    15  import "dep1.proto";
    16  import "dep2.proto";
    17  
    18  service HelloService {
    19      rpc Hello(HelloRequest) returns(HelloResponse);
    20  }
    21  
    22  message HelloRequest {}
    23  
    24  message HelloResponse {}
    25  
    26