auth

package
v0.0.0-...-f0a2dc7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2025 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheKeyPayload

type CacheKeyPayload struct {
	Code   string `json:"code"`
	LastAt int64  `json:"lastAt"`
}

type CheckLogic

type CheckLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewCheckLogic

func NewCheckLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckLogic

Check Account

func (*CheckLogic) Check

type GetAppConfigLogic

type GetAppConfigLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewGetAppConfigLogic

func NewGetAppConfigLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetAppConfigLogic

GetAppConfig

func (*GetAppConfigLogic) GetAppConfig

func (l *GetAppConfigLogic) GetAppConfig(req *types.AppConfigRequest) (resp *types.AppConfigResponse, err error)

type LoginLogic

type LoginLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewLoginLogic

func NewLoginLogic(ctx *gin.Context, svcCtx *svc.ServiceContext) *LoginLogic

Login

func (*LoginLogic) Login

func (l *LoginLogic) Login(req *types.AppAuthRequest) (resp *types.AppAuthRespone, err error)

type RegisterLogic

type RegisterLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewRegisterLogic

func NewRegisterLogic(ctx *gin.Context, svcCtx *svc.ServiceContext) *RegisterLogic

Register

func (*RegisterLogic) Register

func (l *RegisterLogic) Register(req *types.AppAuthRequest) (resp *types.AppAuthRespone, err error)

type ResetPasswordLogic

type ResetPasswordLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func NewResetPasswordLogic

func NewResetPasswordLogic(ctx *gin.Context, svcCtx *svc.ServiceContext) *ResetPasswordLogic

Reset Password

func (*ResetPasswordLogic) ResetPassword

func (l *ResetPasswordLogic) ResetPassword(req *types.AppAuthRequest) (resp *types.AppAuthRespone, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL