Versions in this module Expand all Collapse all v1 v1.4.2 Dec 15, 2023 Changes in this version + type LoginByEmailLogic struct + func NewLoginByEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginByEmailLogic + func (l *LoginByEmailLogic) LoginByEmail(req *types.LoginByEmailReq) (resp *types.LoginResp, err error) + type LoginBySmsLogic struct + func NewLoginBySmsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginBySmsLogic + func (l *LoginBySmsLogic) LoginBySms(req *types.LoginBySmsReq) (resp *types.LoginResp, err error) + type LoginLogic struct + func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic + func (l *LoginLogic) Login(req *types.LoginReq) (resp *types.LoginResp, err error) + type RegisterByEmailLogic struct + func NewRegisterByEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterByEmailLogic + func (l *RegisterByEmailLogic) RegisterByEmail(req *types.RegisterByEmailReq) (resp *types.BaseMsgResp, err error) + type RegisterBySmsLogic struct + func NewRegisterBySmsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterBySmsLogic + func (l *RegisterBySmsLogic) RegisterBySms(req *types.RegisterBySmsReq) (resp *types.BaseMsgResp, err error) + type RegisterLogic struct + func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterLogic + func (l *RegisterLogic) Register(req *types.RegisterReq) (resp *types.BaseMsgResp, err error) + type ResetPasswordByEmailLogic struct + func NewResetPasswordByEmailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ResetPasswordByEmailLogic + func (l *ResetPasswordByEmailLogic) ResetPasswordByEmail(req *types.ResetPasswordByEmailReq) (resp *types.BaseMsgResp, err error) + type ResetPasswordBySmsLogic struct + func NewResetPasswordBySmsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ResetPasswordBySmsLogic + func (l *ResetPasswordBySmsLogic) ResetPasswordBySms(req *types.ResetPasswordBySmsReq) (resp *types.BaseMsgResp, err error)