Documentation ¶
Index ¶
- type BindUserEmailLogic
- type FindUserInfoListLogic
- type FindUserListLogic
- type FindUserLoginHistoryListLogic
- type FindUserOnlineListLogic
- type GetOauthAuthorizeUrlLogic
- type GetUserAreasAnalysisLogic
- type GetUserInfoLogic
- type LoginLogic
- type LogoffLogic
- type LogoutLogic
- type OauthLoginLogic
- type RegisterLogic
- type ResetPasswordLogic
- type SendBindEmailLogic
- type SendRegisterEmailLogic
- type SendResetPasswordEmailLogic
- type UpdateUserInfoLogic
- type UpdateUserStatusLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindUserEmailLogic ¶
func NewBindUserEmailLogic ¶
func NewBindUserEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BindUserEmailLogic
func (*BindUserEmailLogic) BindUserEmail ¶
func (l *BindUserEmailLogic) BindUserEmail(in *accountrpc.BindUserEmailReq) (*accountrpc.EmptyResp, error)
修改用户邮箱
type FindUserInfoListLogic ¶
func NewFindUserInfoListLogic ¶
func NewFindUserInfoListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindUserInfoListLogic
func (*FindUserInfoListLogic) FindUserInfoList ¶
func (l *FindUserInfoListLogic) FindUserInfoList(in *accountrpc.FindUserListReq) (*accountrpc.FindUserInfoListResp, error)
查找用户信息列表
type FindUserListLogic ¶
func NewFindUserListLogic ¶
func NewFindUserListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindUserListLogic
func (*FindUserListLogic) FindUserList ¶
func (l *FindUserListLogic) FindUserList(in *accountrpc.FindUserListReq) (*accountrpc.FindUserListResp, error)
查找用户列表
type FindUserLoginHistoryListLogic ¶
func NewFindUserLoginHistoryListLogic ¶
func NewFindUserLoginHistoryListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindUserLoginHistoryListLogic
func (*FindUserLoginHistoryListLogic) FindUserLoginHistoryList ¶
func (l *FindUserLoginHistoryListLogic) FindUserLoginHistoryList(in *accountrpc.FindLoginHistoryListReq) (*accountrpc.FindLoginHistoryListResp, error)
查询用户登录历史
type FindUserOnlineListLogic ¶
func NewFindUserOnlineListLogic ¶
func NewFindUserOnlineListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindUserOnlineListLogic
func (*FindUserOnlineListLogic) FindUserOnlineList ¶
func (l *FindUserOnlineListLogic) FindUserOnlineList(in *accountrpc.FindUserListReq) (*accountrpc.FindUserInfoListResp, error)
查找在线用户列表
type GetOauthAuthorizeUrlLogic ¶
func NewGetOauthAuthorizeUrlLogic ¶
func NewGetOauthAuthorizeUrlLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetOauthAuthorizeUrlLogic
func (*GetOauthAuthorizeUrlLogic) GetOauthAuthorizeUrl ¶
func (l *GetOauthAuthorizeUrlLogic) GetOauthAuthorizeUrl(in *accountrpc.OauthLoginReq) (*accountrpc.OauthLoginUrlResp, error)
获取授权地址
type GetUserAreasAnalysisLogic ¶
func NewGetUserAreasAnalysisLogic ¶
func NewGetUserAreasAnalysisLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserAreasAnalysisLogic
func (*GetUserAreasAnalysisLogic) GetUserAreasAnalysis ¶
func (l *GetUserAreasAnalysisLogic) GetUserAreasAnalysis(in *accountrpc.EmptyReq) (*accountrpc.GetUserAreasAnalysisResp, error)
查询用户分布区域
type GetUserInfoLogic ¶
func NewGetUserInfoLogic ¶
func NewGetUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserInfoLogic
func (*GetUserInfoLogic) GetUserInfo ¶
func (l *GetUserInfoLogic) GetUserInfo(in *accountrpc.UserIdReq) (*accountrpc.UserInfoResp, error)
获取用户信息
type LoginLogic ¶
func NewLoginLogic ¶
func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic
func (*LoginLogic) Login ¶
func (l *LoginLogic) Login(in *accountrpc.LoginReq) (*accountrpc.LoginResp, error)
登录
type LogoffLogic ¶
func NewLogoffLogic ¶
func NewLogoffLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LogoffLogic
func (*LogoffLogic) Logoff ¶
func (l *LogoffLogic) Logoff(in *accountrpc.LogoffReq) (*accountrpc.EmptyResp, error)
注销
type LogoutLogic ¶
func NewLogoutLogic ¶
func NewLogoutLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LogoutLogic
func (*LogoutLogic) Logout ¶
func (l *LogoutLogic) Logout(in *accountrpc.LogoutReq) (*accountrpc.LogoutResp, error)
登出
type OauthLoginLogic ¶
func NewOauthLoginLogic ¶
func NewOauthLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OauthLoginLogic
func (*OauthLoginLogic) OauthLogin ¶
func (l *OauthLoginLogic) OauthLogin(in *accountrpc.OauthLoginReq) (*accountrpc.LoginResp, error)
第三方登录
type RegisterLogic ¶
func NewRegisterLogic ¶
func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterLogic
func (*RegisterLogic) Register ¶
func (l *RegisterLogic) Register(in *accountrpc.RegisterReq) (*accountrpc.LoginResp, error)
注册
type ResetPasswordLogic ¶
func NewResetPasswordLogic ¶
func NewResetPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ResetPasswordLogic
func (*ResetPasswordLogic) ResetPassword ¶
func (l *ResetPasswordLogic) ResetPassword(in *accountrpc.ResetPasswordReq) (*accountrpc.EmptyResp, error)
重置密码
type SendBindEmailLogic ¶
func NewSendBindEmailLogic ¶
func NewSendBindEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendBindEmailLogic
func (*SendBindEmailLogic) SendBindEmail ¶
func (l *SendBindEmailLogic) SendBindEmail(in *accountrpc.UserEmailReq) (*accountrpc.EmptyResp, error)
发送绑定邮箱邮件
type SendRegisterEmailLogic ¶
func NewSendRegisterEmailLogic ¶
func NewSendRegisterEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendRegisterEmailLogic
func (*SendRegisterEmailLogic) SendRegisterEmail ¶
func (l *SendRegisterEmailLogic) SendRegisterEmail(in *accountrpc.UserEmailReq) (*accountrpc.EmptyResp, error)
发送注册邮件
type SendResetPasswordEmailLogic ¶
func NewSendResetPasswordEmailLogic ¶
func NewSendResetPasswordEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendResetPasswordEmailLogic
func (*SendResetPasswordEmailLogic) SendResetPasswordEmail ¶
func (l *SendResetPasswordEmailLogic) SendResetPasswordEmail(in *accountrpc.UserEmailReq) (*accountrpc.EmptyResp, error)
发送重置密码邮件
type UpdateUserInfoLogic ¶
func NewUpdateUserInfoLogic ¶
func NewUpdateUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserInfoLogic
func (*UpdateUserInfoLogic) UpdateUserInfo ¶
func (l *UpdateUserInfoLogic) UpdateUserInfo(in *accountrpc.UpdateUserInfoReq) (*accountrpc.EmptyResp, error)
修改用户信息
type UpdateUserStatusLogic ¶
func NewUpdateUserStatusLogic ¶
func NewUpdateUserStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserStatusLogic
func (*UpdateUserStatusLogic) UpdateUserStatus ¶
func (l *UpdateUserStatusLogic) UpdateUserStatus(in *accountrpc.UpdateUserStatusReq) (*accountrpc.EmptyResp, error)
修改用户状态
Source Files ¶
- bind_user_email_logic.go
- find_user_info_list_logic.go
- find_user_list_logic.go
- find_user_login_history_list_logic.go
- find_user_online_list_logic.go
- get_oauth_authorize_url_logic.go
- get_user_areas_analysis_logic.go
- get_user_info_logic.go
- login_logic.go
- logoff_logic.go
- logout_logic.go
- oauth_login_logic.go
- register_logic.go
- reset_password_logic.go
- send_bind_email_logic.go
- send_register_email_logic.go
- send_reset_password_email_logic.go
- update_user_info_logic.go
- update_user_status_logic.go
Click to show internal directories.
Click to hide internal directories.