github.com/jtzjtz/kit@v1.0.2/balance/example/pb/greeter.proto (about)

     1  syntax = "proto3";
     2  
     3  package helloworld;
     4  
     5  // The greeting service definition.
     6  service Greeter {
     7      // Sends a greeting
     8      rpc SayHello (HelloRequest) returns (HelloReply) {}
     9  }
    10  
    11  // The request message containing the user's name.
    12  message HelloRequest {
    13      string name = 1;
    14  }
    15  
    16  // The response message containing the greetings
    17  message HelloReply {
    18      string message = 1;
    19  }