69b498df2753216806554ab7a9f0d41264237a55.svn-base 250 B

12345678910111213141516
  1. syntax = "proto3";
  2. package pb;
  3. service UserService{
  4. rpc CheckPassword(LoginRequest) returns (LoginResponse) {}
  5. }
  6. message LoginRequest {
  7. string Username = 1;
  8. string Password = 2;
  9. }
  10. message LoginResponse {
  11. string Ret = 1;
  12. string err = 2;
  13. }