- syntax = "proto3";
- package passportpb;
- option go_package = "passportpb";
- option (gogoproto.populate_all) = true;
- import "github.com/gogo/protobuf/gogoproto/gogo.proto";
- import "helloworld.proto";
- service Passport {
- // The UserInfo service responds to incoming requests which who want to get user info.
- //rpc GetUserInfo (UserInfoRequest) returns (UserInfoReply) {}
- rpc SayHello (HelloRequest) returns (HelloReply){};
- }
|