initial commit
This commit is contained in:
13
third_party/libhv/examples/protorpc/proto/login.proto
vendored
Executable file
13
third_party/libhv/examples/protorpc/proto/login.proto
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package protorpc;
|
||||
|
||||
message LoginParam {
|
||||
string username = 1;
|
||||
string password = 2;
|
||||
}
|
||||
|
||||
message LoginResult {
|
||||
uint64 user_id = 1;
|
||||
string token = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user