github.com/cloudwego/kitex@v0.9.0/pkg/generic/jsonpb_test/idl/example.proto (about)

     1  syntax = "proto3";
     2  package test;
     3  // The greeting service definition with modifications
     4  option go_package = "./";
     5  
     6  message ExampleReq {
     7    repeated string reqs = 1;
     8  }
     9  
    10  message ExampleResp {
    11    repeated string resps = 1;
    12  }
    13  
    14  message Void {}
    15  
    16  service ExampleService {
    17    rpc ExampleMethod(ExampleReq) returns (ExampleResp);
    18    rpc VoidMethod(Void) returns (Void);
    19  }