github.com/ronaksoft/rony@v0.16.26-0.20230807065236-1743dbfe6959/cmd/rony/skel/rpc/sample.proto.plush (about)

     1  syntax = "proto3";
     2  package rpc ;
     3  import "github.com/ronaksoft/rony/options.proto";
     4  option go_package = "<%= packagePath() %>/rpc";
     5  
     6  
     7  // Sample
     8  service Sample {
     9      option (rony_cli) = {};
    10      rpc Echo(EchoRequest) returns (EchoResponse);
    11  }
    12  
    13  // EchoRequest
    14  message EchoRequest {
    15      int64 ID = 1;
    16  }
    17  
    18  // Response1
    19  message EchoResponse {
    20      int64 ReqID = 1;
    21      string RandomText = 2;
    22  }