|
|
@ -10,6 +10,8 @@ It is generated from these files: |
|
|
|
|
|
|
|
It has these top-level messages: |
|
|
|
UserRequest |
|
|
|
UserInfoByUsername |
|
|
|
UserInfoByUsercode |
|
|
|
UserResponse |
|
|
|
LoginRequest |
|
|
|
LoginResponse |
|
|
@ -55,6 +57,56 @@ func (m *UserRequest) GetToken() string { |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
// 使用username查询用户信息请求结构
|
|
|
|
type UserInfoByUsername struct { |
|
|
|
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"` |
|
|
|
Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"` |
|
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
|
} |
|
|
|
|
|
|
|
func (m *UserInfoByUsername) Reset() { *m = UserInfoByUsername{} } |
|
|
|
func (m *UserInfoByUsername) String() string { return proto.CompactTextString(m) } |
|
|
|
func (*UserInfoByUsername) ProtoMessage() {} |
|
|
|
|
|
|
|
func (m *UserInfoByUsername) GetDbname() string { |
|
|
|
if m != nil && m.Dbname != nil { |
|
|
|
return *m.Dbname |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (m *UserInfoByUsername) GetUsername() string { |
|
|
|
if m != nil && m.Username != nil { |
|
|
|
return *m.Username |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
// 使用usercode查询用户信息请求结构
|
|
|
|
type UserInfoByUsercode struct { |
|
|
|
Dbname *string `protobuf:"bytes,1,opt,name=dbname" json:"dbname,omitempty"` |
|
|
|
Usercode *string `protobuf:"bytes,2,opt,name=usercode" json:"usercode,omitempty"` |
|
|
|
XXX_unrecognized []byte `json:"-"` |
|
|
|
} |
|
|
|
|
|
|
|
func (m *UserInfoByUsercode) Reset() { *m = UserInfoByUsercode{} } |
|
|
|
func (m *UserInfoByUsercode) String() string { return proto.CompactTextString(m) } |
|
|
|
func (*UserInfoByUsercode) ProtoMessage() {} |
|
|
|
|
|
|
|
func (m *UserInfoByUsercode) GetDbname() string { |
|
|
|
if m != nil && m.Dbname != nil { |
|
|
|
return *m.Dbname |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
func (m *UserInfoByUsercode) GetUsercode() string { |
|
|
|
if m != nil && m.Usercode != nil { |
|
|
|
return *m.Usercode |
|
|
|
} |
|
|
|
return "" |
|
|
|
} |
|
|
|
|
|
|
|
// 使用token查询用户信息响应结构
|
|
|
|
type UserResponse struct { |
|
|
|
UserId *string `protobuf:"bytes,1,opt,name=user_id" json:"user_id,omitempty"` |
|
|
|