Documentation ¶
Index ¶
- Variables
- func RegisterUserServer(s *grpc.Server, srv UserServer)
- type ClearUserTokenReq
- type ClearUserTokenResp
- type GetDesignateUsersReq
- func (*GetDesignateUsersReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetDesignateUsersReq) GetUserIDs() []string
- func (*GetDesignateUsersReq) ProtoMessage()
- func (x *GetDesignateUsersReq) ProtoReflect() protoreflect.Message
- func (x *GetDesignateUsersReq) Reset()
- func (x *GetDesignateUsersReq) String() string
- type GetDesignateUsersResp
- func (*GetDesignateUsersResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetDesignateUsersResp) GetUsersInfo() []*UserInfo
- func (*GetDesignateUsersResp) ProtoMessage()
- func (x *GetDesignateUsersResp) ProtoReflect() protoreflect.Message
- func (x *GetDesignateUsersResp) Reset()
- func (x *GetDesignateUsersResp) String() string
- type GetUserInfoReq
- type GetUserInfoResp
- func (*GetUserInfoResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoResp) GetAccount() string
- func (x *GetUserInfoResp) GetFaceURL() string
- func (x *GetUserInfoResp) GetNickname() string
- func (x *GetUserInfoResp) GetUserID() string
- func (*GetUserInfoResp) ProtoMessage()
- func (x *GetUserInfoResp) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoResp) Reset()
- func (x *GetUserInfoResp) String() string
- type GetUserTokenReq
- type GetUserTokenResp
- type LogoutReq
- type LogoutResp
- type ParseTokenReq
- type ParseTokenResp
- func (*ParseTokenResp) Descriptor() ([]byte, []int)deprecated
- func (x *ParseTokenResp) GetExpireTimeSeconds() int64
- func (x *ParseTokenResp) GetUserID() string
- func (*ParseTokenResp) ProtoMessage()
- func (x *ParseTokenResp) ProtoReflect() protoreflect.Message
- func (x *ParseTokenResp) Reset()
- func (x *ParseTokenResp) String() string
- type UnimplementedUserServer
- func (*UnimplementedUserServer) ClearUserToken(context.Context, *ClearUserTokenReq) (*ClearUserTokenResp, error)
- func (*UnimplementedUserServer) GetDesignateUsers(context.Context, *GetDesignateUsersReq) (*GetDesignateUsersResp, error)
- func (*UnimplementedUserServer) GetUserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResp, error)
- func (*UnimplementedUserServer) GetUserToken(context.Context, *GetUserTokenReq) (*GetUserTokenResp, error)
- func (*UnimplementedUserServer) ParseToken(context.Context, *ParseTokenReq) (*ParseTokenResp, error)
- func (*UnimplementedUserServer) UpdateUserPassword(context.Context, *UpdateUserPasswordReq) (*UpdateUserPasswordResp, error)
- func (*UnimplementedUserServer) UserLogin(context.Context, *UserLoginReq) (*UserLoginResp, error)
- func (*UnimplementedUserServer) UserLogout(context.Context, *LogoutReq) (*LogoutResp, error)
- func (*UnimplementedUserServer) UserRegister(context.Context, *UserRegisterReq) (*UserRegisterResp, error)
- type UpdateUserPasswordReq
- func (*UpdateUserPasswordReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserPasswordReq) GetPassword() string
- func (x *UpdateUserPasswordReq) GetUserID() string
- func (*UpdateUserPasswordReq) ProtoMessage()
- func (x *UpdateUserPasswordReq) ProtoReflect() protoreflect.Message
- func (x *UpdateUserPasswordReq) Reset()
- func (x *UpdateUserPasswordReq) String() string
- type UpdateUserPasswordResp
- type UserClient
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetAccount() string
- func (x *UserInfo) GetNickname() string
- func (x *UserInfo) GetPassword() string
- func (x *UserInfo) GetUserID() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- type UserLoginReq
- func (*UserLoginReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserLoginReq) GetAccount() string
- func (x *UserLoginReq) GetAreaCode() string
- func (x *UserLoginReq) GetDeviceID() string
- func (x *UserLoginReq) GetEmail() string
- func (x *UserLoginReq) GetPassword() string
- func (x *UserLoginReq) GetPhoneNumber() string
- func (x *UserLoginReq) GetPlatform() int32
- func (x *UserLoginReq) GetVerifyCode() string
- func (*UserLoginReq) ProtoMessage()
- func (x *UserLoginReq) ProtoReflect() protoreflect.Message
- func (x *UserLoginReq) Reset()
- func (x *UserLoginReq) String() string
- type UserLoginResp
- func (*UserLoginResp) Descriptor() ([]byte, []int)deprecated
- func (x *UserLoginResp) GetNickname() string
- func (x *UserLoginResp) GetToken() string
- func (x *UserLoginResp) GetUserID() string
- func (*UserLoginResp) ProtoMessage()
- func (x *UserLoginResp) ProtoReflect() protoreflect.Message
- func (x *UserLoginResp) Reset()
- func (x *UserLoginResp) String() string
- type UserRegisterReq
- type UserRegisterResp
- type UserServer
Constants ¶
This section is empty.
Variables ¶
var File_openmeeting_user_user_proto protoreflect.FileDescriptor
Functions ¶
func RegisterUserServer ¶
func RegisterUserServer(s *grpc.Server, srv UserServer)
Types ¶
type ClearUserTokenReq ¶
type ClearUserTokenReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` // contains filtered or unexported fields }
func (*ClearUserTokenReq) Descriptor
deprecated
func (*ClearUserTokenReq) Descriptor() ([]byte, []int)
Deprecated: Use ClearUserTokenReq.ProtoReflect.Descriptor instead.
func (*ClearUserTokenReq) GetUserID ¶
func (x *ClearUserTokenReq) GetUserID() string
func (*ClearUserTokenReq) ProtoMessage ¶
func (*ClearUserTokenReq) ProtoMessage()
func (*ClearUserTokenReq) ProtoReflect ¶
func (x *ClearUserTokenReq) ProtoReflect() protoreflect.Message
func (*ClearUserTokenReq) Reset ¶
func (x *ClearUserTokenReq) Reset()
func (*ClearUserTokenReq) String ¶
func (x *ClearUserTokenReq) String() string
type ClearUserTokenResp ¶
type ClearUserTokenResp struct {
// contains filtered or unexported fields
}
func (*ClearUserTokenResp) Descriptor
deprecated
func (*ClearUserTokenResp) Descriptor() ([]byte, []int)
Deprecated: Use ClearUserTokenResp.ProtoReflect.Descriptor instead.
func (*ClearUserTokenResp) ProtoMessage ¶
func (*ClearUserTokenResp) ProtoMessage()
func (*ClearUserTokenResp) ProtoReflect ¶
func (x *ClearUserTokenResp) ProtoReflect() protoreflect.Message
func (*ClearUserTokenResp) Reset ¶
func (x *ClearUserTokenResp) Reset()
func (*ClearUserTokenResp) String ¶
func (x *ClearUserTokenResp) String() string
type GetDesignateUsersReq ¶
type GetDesignateUsersReq struct { UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"` // contains filtered or unexported fields }
func (*GetDesignateUsersReq) Descriptor
deprecated
func (*GetDesignateUsersReq) Descriptor() ([]byte, []int)
Deprecated: Use GetDesignateUsersReq.ProtoReflect.Descriptor instead.
func (*GetDesignateUsersReq) GetUserIDs ¶
func (x *GetDesignateUsersReq) GetUserIDs() []string
func (*GetDesignateUsersReq) ProtoMessage ¶
func (*GetDesignateUsersReq) ProtoMessage()
func (*GetDesignateUsersReq) ProtoReflect ¶
func (x *GetDesignateUsersReq) ProtoReflect() protoreflect.Message
func (*GetDesignateUsersReq) Reset ¶
func (x *GetDesignateUsersReq) Reset()
func (*GetDesignateUsersReq) String ¶
func (x *GetDesignateUsersReq) String() string
type GetDesignateUsersResp ¶
type GetDesignateUsersResp struct { UsersInfo []*UserInfo `protobuf:"bytes,1,rep,name=usersInfo,proto3" json:"usersInfo"` // contains filtered or unexported fields }
func (*GetDesignateUsersResp) Descriptor
deprecated
func (*GetDesignateUsersResp) Descriptor() ([]byte, []int)
Deprecated: Use GetDesignateUsersResp.ProtoReflect.Descriptor instead.
func (*GetDesignateUsersResp) GetUsersInfo ¶
func (x *GetDesignateUsersResp) GetUsersInfo() []*UserInfo
func (*GetDesignateUsersResp) ProtoMessage ¶
func (*GetDesignateUsersResp) ProtoMessage()
func (*GetDesignateUsersResp) ProtoReflect ¶
func (x *GetDesignateUsersResp) ProtoReflect() protoreflect.Message
func (*GetDesignateUsersResp) Reset ¶
func (x *GetDesignateUsersResp) Reset()
func (*GetDesignateUsersResp) String ¶
func (x *GetDesignateUsersResp) String() string
type GetUserInfoReq ¶
type GetUserInfoReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` // contains filtered or unexported fields }
func (*GetUserInfoReq) Descriptor
deprecated
func (*GetUserInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoReq.ProtoReflect.Descriptor instead.
func (*GetUserInfoReq) GetUserID ¶
func (x *GetUserInfoReq) GetUserID() string
func (*GetUserInfoReq) ProtoMessage ¶
func (*GetUserInfoReq) ProtoMessage()
func (*GetUserInfoReq) ProtoReflect ¶
func (x *GetUserInfoReq) ProtoReflect() protoreflect.Message
func (*GetUserInfoReq) Reset ¶
func (x *GetUserInfoReq) Reset()
func (*GetUserInfoReq) String ¶
func (x *GetUserInfoReq) String() string
type GetUserInfoResp ¶
type GetUserInfoResp struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account"` FaceURL string `protobuf:"bytes,4,opt,name=faceURL,proto3" json:"faceURL"` // contains filtered or unexported fields }
func (*GetUserInfoResp) Descriptor
deprecated
func (*GetUserInfoResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserInfoResp.ProtoReflect.Descriptor instead.
func (*GetUserInfoResp) GetAccount ¶
func (x *GetUserInfoResp) GetAccount() string
func (*GetUserInfoResp) GetFaceURL ¶
func (x *GetUserInfoResp) GetFaceURL() string
func (*GetUserInfoResp) GetNickname ¶
func (x *GetUserInfoResp) GetNickname() string
func (*GetUserInfoResp) GetUserID ¶
func (x *GetUserInfoResp) GetUserID() string
func (*GetUserInfoResp) ProtoMessage ¶
func (*GetUserInfoResp) ProtoMessage()
func (*GetUserInfoResp) ProtoReflect ¶
func (x *GetUserInfoResp) ProtoReflect() protoreflect.Message
func (*GetUserInfoResp) Reset ¶
func (x *GetUserInfoResp) Reset()
func (*GetUserInfoResp) String ¶
func (x *GetUserInfoResp) String() string
type GetUserTokenReq ¶
type GetUserTokenReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` // contains filtered or unexported fields }
func (*GetUserTokenReq) Descriptor
deprecated
func (*GetUserTokenReq) Descriptor() ([]byte, []int)
Deprecated: Use GetUserTokenReq.ProtoReflect.Descriptor instead.
func (*GetUserTokenReq) GetUserID ¶
func (x *GetUserTokenReq) GetUserID() string
func (*GetUserTokenReq) ProtoMessage ¶
func (*GetUserTokenReq) ProtoMessage()
func (*GetUserTokenReq) ProtoReflect ¶
func (x *GetUserTokenReq) ProtoReflect() protoreflect.Message
func (*GetUserTokenReq) Reset ¶
func (x *GetUserTokenReq) Reset()
func (*GetUserTokenReq) String ¶
func (x *GetUserTokenReq) String() string
type GetUserTokenResp ¶
type GetUserTokenResp struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"` // contains filtered or unexported fields }
func (*GetUserTokenResp) Descriptor
deprecated
func (*GetUserTokenResp) Descriptor() ([]byte, []int)
Deprecated: Use GetUserTokenResp.ProtoReflect.Descriptor instead.
func (*GetUserTokenResp) GetToken ¶
func (x *GetUserTokenResp) GetToken() string
func (*GetUserTokenResp) ProtoMessage ¶
func (*GetUserTokenResp) ProtoMessage()
func (*GetUserTokenResp) ProtoReflect ¶
func (x *GetUserTokenResp) ProtoReflect() protoreflect.Message
func (*GetUserTokenResp) Reset ¶
func (x *GetUserTokenResp) Reset()
func (*GetUserTokenResp) String ¶
func (x *GetUserTokenResp) String() string
type LogoutReq ¶
type LogoutReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` // contains filtered or unexported fields }
func (*LogoutReq) Descriptor
deprecated
func (*LogoutReq) ProtoMessage ¶
func (*LogoutReq) ProtoMessage()
func (*LogoutReq) ProtoReflect ¶
func (x *LogoutReq) ProtoReflect() protoreflect.Message
type LogoutResp ¶
type LogoutResp struct {
// contains filtered or unexported fields
}
func (*LogoutResp) Descriptor
deprecated
func (*LogoutResp) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResp.ProtoReflect.Descriptor instead.
func (*LogoutResp) ProtoMessage ¶
func (*LogoutResp) ProtoMessage()
func (*LogoutResp) ProtoReflect ¶
func (x *LogoutResp) ProtoReflect() protoreflect.Message
func (*LogoutResp) Reset ¶
func (x *LogoutResp) Reset()
func (*LogoutResp) String ¶
func (x *LogoutResp) String() string
type ParseTokenReq ¶
type ParseTokenReq struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"` // contains filtered or unexported fields }
func (*ParseTokenReq) Descriptor
deprecated
func (*ParseTokenReq) Descriptor() ([]byte, []int)
Deprecated: Use ParseTokenReq.ProtoReflect.Descriptor instead.
func (*ParseTokenReq) GetToken ¶
func (x *ParseTokenReq) GetToken() string
func (*ParseTokenReq) ProtoMessage ¶
func (*ParseTokenReq) ProtoMessage()
func (*ParseTokenReq) ProtoReflect ¶
func (x *ParseTokenReq) ProtoReflect() protoreflect.Message
func (*ParseTokenReq) Reset ¶
func (x *ParseTokenReq) Reset()
func (*ParseTokenReq) String ¶
func (x *ParseTokenReq) String() string
type ParseTokenResp ¶
type ParseTokenResp struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` ExpireTimeSeconds int64 `protobuf:"varint,2,opt,name=expireTimeSeconds,proto3" json:"expireTimeSeconds"` // contains filtered or unexported fields }
func (*ParseTokenResp) Descriptor
deprecated
func (*ParseTokenResp) Descriptor() ([]byte, []int)
Deprecated: Use ParseTokenResp.ProtoReflect.Descriptor instead.
func (*ParseTokenResp) GetExpireTimeSeconds ¶
func (x *ParseTokenResp) GetExpireTimeSeconds() int64
func (*ParseTokenResp) GetUserID ¶
func (x *ParseTokenResp) GetUserID() string
func (*ParseTokenResp) ProtoMessage ¶
func (*ParseTokenResp) ProtoMessage()
func (*ParseTokenResp) ProtoReflect ¶
func (x *ParseTokenResp) ProtoReflect() protoreflect.Message
func (*ParseTokenResp) Reset ¶
func (x *ParseTokenResp) Reset()
func (*ParseTokenResp) String ¶
func (x *ParseTokenResp) String() string
type UnimplementedUserServer ¶
type UnimplementedUserServer struct { }
UnimplementedUserServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServer) ClearUserToken ¶
func (*UnimplementedUserServer) ClearUserToken(context.Context, *ClearUserTokenReq) (*ClearUserTokenResp, error)
func (*UnimplementedUserServer) GetDesignateUsers ¶
func (*UnimplementedUserServer) GetDesignateUsers(context.Context, *GetDesignateUsersReq) (*GetDesignateUsersResp, error)
func (*UnimplementedUserServer) GetUserInfo ¶
func (*UnimplementedUserServer) GetUserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResp, error)
func (*UnimplementedUserServer) GetUserToken ¶
func (*UnimplementedUserServer) GetUserToken(context.Context, *GetUserTokenReq) (*GetUserTokenResp, error)
func (*UnimplementedUserServer) ParseToken ¶
func (*UnimplementedUserServer) ParseToken(context.Context, *ParseTokenReq) (*ParseTokenResp, error)
func (*UnimplementedUserServer) UpdateUserPassword ¶
func (*UnimplementedUserServer) UpdateUserPassword(context.Context, *UpdateUserPasswordReq) (*UpdateUserPasswordResp, error)
func (*UnimplementedUserServer) UserLogin ¶
func (*UnimplementedUserServer) UserLogin(context.Context, *UserLoginReq) (*UserLoginResp, error)
func (*UnimplementedUserServer) UserLogout ¶
func (*UnimplementedUserServer) UserLogout(context.Context, *LogoutReq) (*LogoutResp, error)
func (*UnimplementedUserServer) UserRegister ¶
func (*UnimplementedUserServer) UserRegister(context.Context, *UserRegisterReq) (*UserRegisterResp, error)
type UpdateUserPasswordReq ¶
type UpdateUserPasswordReq struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password"` // contains filtered or unexported fields }
func (*UpdateUserPasswordReq) Descriptor
deprecated
func (*UpdateUserPasswordReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserPasswordReq.ProtoReflect.Descriptor instead.
func (*UpdateUserPasswordReq) GetPassword ¶
func (x *UpdateUserPasswordReq) GetPassword() string
func (*UpdateUserPasswordReq) GetUserID ¶
func (x *UpdateUserPasswordReq) GetUserID() string
func (*UpdateUserPasswordReq) ProtoMessage ¶
func (*UpdateUserPasswordReq) ProtoMessage()
func (*UpdateUserPasswordReq) ProtoReflect ¶
func (x *UpdateUserPasswordReq) ProtoReflect() protoreflect.Message
func (*UpdateUserPasswordReq) Reset ¶
func (x *UpdateUserPasswordReq) Reset()
func (*UpdateUserPasswordReq) String ¶
func (x *UpdateUserPasswordReq) String() string
type UpdateUserPasswordResp ¶
type UpdateUserPasswordResp struct {
// contains filtered or unexported fields
}
func (*UpdateUserPasswordResp) Descriptor
deprecated
func (*UpdateUserPasswordResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserPasswordResp.ProtoReflect.Descriptor instead.
func (*UpdateUserPasswordResp) ProtoMessage ¶
func (*UpdateUserPasswordResp) ProtoMessage()
func (*UpdateUserPasswordResp) ProtoReflect ¶
func (x *UpdateUserPasswordResp) ProtoReflect() protoreflect.Message
func (*UpdateUserPasswordResp) Reset ¶
func (x *UpdateUserPasswordResp) Reset()
func (*UpdateUserPasswordResp) String ¶
func (x *UpdateUserPasswordResp) String() string
type UserClient ¶
type UserClient interface { // Get the specified user information full field GetDesignateUsers(ctx context.Context, in *GetDesignateUsersReq, opts ...grpc.CallOption) (*GetDesignateUsersResp, error) // user registration UserRegister(ctx context.Context, in *UserRegisterReq, opts ...grpc.CallOption) (*UserRegisterResp, error) // user login UserLogin(ctx context.Context, in *UserLoginReq, opts ...grpc.CallOption) (*UserLoginResp, error) // get user token GetUserToken(ctx context.Context, in *GetUserTokenReq, opts ...grpc.CallOption) (*GetUserTokenResp, error) // get user info GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error) // update user password UpdateUserPassword(ctx context.Context, in *UpdateUserPasswordReq, opts ...grpc.CallOption) (*UpdateUserPasswordResp, error) // clear user token ClearUserToken(ctx context.Context, in *ClearUserTokenReq, opts ...grpc.CallOption) (*ClearUserTokenResp, error) // user log out UserLogout(ctx context.Context, in *LogoutReq, opts ...grpc.CallOption) (*LogoutResp, error) // parse token ParseToken(ctx context.Context, in *ParseTokenReq, opts ...grpc.CallOption) (*ParseTokenResp, error) }
UserClient is the client API for User service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserClient ¶
func NewUserClient(cc grpc.ClientConnInterface) UserClient
type UserInfo ¶
type UserInfo struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password"` // contains filtered or unexported fields }
func (*UserInfo) Descriptor
deprecated
func (*UserInfo) GetAccount ¶
func (*UserInfo) GetNickname ¶
func (*UserInfo) GetPassword ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message
type UserLoginReq ¶
type UserLoginReq struct { AreaCode string `protobuf:"bytes,1,opt,name=areaCode,proto3" json:"areaCode"` PhoneNumber string `protobuf:"bytes,2,opt,name=phoneNumber,proto3" json:"phoneNumber"` VerifyCode string `protobuf:"bytes,3,opt,name=verifyCode,proto3" json:"verifyCode"` Account string `protobuf:"bytes,4,opt,name=account,proto3" json:"account"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password"` Platform int32 `protobuf:"varint,6,opt,name=platform,proto3" json:"platform"` DeviceID string `protobuf:"bytes,7,opt,name=deviceID,proto3" json:"deviceID"` Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email"` // contains filtered or unexported fields }
func (*UserLoginReq) Descriptor
deprecated
func (*UserLoginReq) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginReq.ProtoReflect.Descriptor instead.
func (*UserLoginReq) GetAccount ¶
func (x *UserLoginReq) GetAccount() string
func (*UserLoginReq) GetAreaCode ¶
func (x *UserLoginReq) GetAreaCode() string
func (*UserLoginReq) GetDeviceID ¶
func (x *UserLoginReq) GetDeviceID() string
func (*UserLoginReq) GetEmail ¶
func (x *UserLoginReq) GetEmail() string
func (*UserLoginReq) GetPassword ¶
func (x *UserLoginReq) GetPassword() string
func (*UserLoginReq) GetPhoneNumber ¶
func (x *UserLoginReq) GetPhoneNumber() string
func (*UserLoginReq) GetPlatform ¶
func (x *UserLoginReq) GetPlatform() int32
func (*UserLoginReq) GetVerifyCode ¶
func (x *UserLoginReq) GetVerifyCode() string
func (*UserLoginReq) ProtoMessage ¶
func (*UserLoginReq) ProtoMessage()
func (*UserLoginReq) ProtoReflect ¶
func (x *UserLoginReq) ProtoReflect() protoreflect.Message
func (*UserLoginReq) Reset ¶
func (x *UserLoginReq) Reset()
func (*UserLoginReq) String ¶
func (x *UserLoginReq) String() string
type UserLoginResp ¶
type UserLoginResp struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"` Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"` UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"` // contains filtered or unexported fields }
func (*UserLoginResp) Descriptor
deprecated
func (*UserLoginResp) Descriptor() ([]byte, []int)
Deprecated: Use UserLoginResp.ProtoReflect.Descriptor instead.
func (*UserLoginResp) GetNickname ¶
func (x *UserLoginResp) GetNickname() string
func (*UserLoginResp) GetToken ¶
func (x *UserLoginResp) GetToken() string
func (*UserLoginResp) GetUserID ¶
func (x *UserLoginResp) GetUserID() string
func (*UserLoginResp) ProtoMessage ¶
func (*UserLoginResp) ProtoMessage()
func (*UserLoginResp) ProtoReflect ¶
func (x *UserLoginResp) ProtoReflect() protoreflect.Message
func (*UserLoginResp) Reset ¶
func (x *UserLoginResp) Reset()
func (*UserLoginResp) String ¶
func (x *UserLoginResp) String() string
type UserRegisterReq ¶
type UserRegisterReq struct { Users []*UserInfo `protobuf:"bytes,1,rep,name=users,proto3" json:"users"` // contains filtered or unexported fields }
func (*UserRegisterReq) Descriptor
deprecated
func (*UserRegisterReq) Descriptor() ([]byte, []int)
Deprecated: Use UserRegisterReq.ProtoReflect.Descriptor instead.
func (*UserRegisterReq) GetUsers ¶
func (x *UserRegisterReq) GetUsers() []*UserInfo
func (*UserRegisterReq) ProtoMessage ¶
func (*UserRegisterReq) ProtoMessage()
func (*UserRegisterReq) ProtoReflect ¶
func (x *UserRegisterReq) ProtoReflect() protoreflect.Message
func (*UserRegisterReq) Reset ¶
func (x *UserRegisterReq) Reset()
func (*UserRegisterReq) String ¶
func (x *UserRegisterReq) String() string
type UserRegisterResp ¶
type UserRegisterResp struct {
// contains filtered or unexported fields
}
func (*UserRegisterResp) Descriptor
deprecated
func (*UserRegisterResp) Descriptor() ([]byte, []int)
Deprecated: Use UserRegisterResp.ProtoReflect.Descriptor instead.
func (*UserRegisterResp) ProtoMessage ¶
func (*UserRegisterResp) ProtoMessage()
func (*UserRegisterResp) ProtoReflect ¶
func (x *UserRegisterResp) ProtoReflect() protoreflect.Message
func (*UserRegisterResp) Reset ¶
func (x *UserRegisterResp) Reset()
func (*UserRegisterResp) String ¶
func (x *UserRegisterResp) String() string
type UserServer ¶
type UserServer interface { // Get the specified user information full field GetDesignateUsers(context.Context, *GetDesignateUsersReq) (*GetDesignateUsersResp, error) // user registration UserRegister(context.Context, *UserRegisterReq) (*UserRegisterResp, error) // user login UserLogin(context.Context, *UserLoginReq) (*UserLoginResp, error) // get user token GetUserToken(context.Context, *GetUserTokenReq) (*GetUserTokenResp, error) // get user info GetUserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResp, error) // update user password UpdateUserPassword(context.Context, *UpdateUserPasswordReq) (*UpdateUserPasswordResp, error) // clear user token ClearUserToken(context.Context, *ClearUserTokenReq) (*ClearUserTokenResp, error) // user log out UserLogout(context.Context, *LogoutReq) (*LogoutResp, error) // parse token ParseToken(context.Context, *ParseTokenReq) (*ParseTokenResp, error) }
UserServer is the server API for User service.