service.proto 434 B

123456789101112131415
  1. syntax = "proto3";
  2. package passportpb;
  3. option go_package = "passportpb";
  4. option (gogoproto.populate_all) = true;
  5. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  6. import "helloworld.proto";
  7. service Passport {
  8. // The UserInfo service responds to incoming requests which who want to get user info.
  9. //rpc GetUserInfo (UserInfoRequest) returns (UserInfoReply) {}
  10. rpc SayHello (HelloRequest) returns (HelloReply){};
  11. }