session

package
v0.0.0-...-253bb2f Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCaptchaLogic

type GetCaptchaLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetCaptchaLogic

func NewGetCaptchaLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCaptchaLogic

func (*GetCaptchaLogic) GetCaptcha

func (l *GetCaptchaLogic) GetCaptcha() (resp *types.GetCaptchaResp, err error)

type GetPublicKeyLogic

type GetPublicKeyLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetPublicKeyLogic

func NewGetPublicKeyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPublicKeyLogic

func (*GetPublicKeyLogic) GetPublicKey

func (l *GetPublicKeyLogic) GetPublicKey() (resp *types.GetPublickeyResp, err error)

type LoginLogic

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

func NewLoginLogic

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

func (*LoginLogic) Login

func (l *LoginLogic) Login(req *types.LoginReq) (resp *types.LoginResp, err error)

func (*LoginLogic) SetUserToCache

func (l *LoginLogic) SetUserToCache(token string, user m.User, accessExpire int64) (err error)

type LogoutLogic

type LogoutLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewLogoutLogic

func NewLogoutLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LogoutLogic

func (*LogoutLogic) Logout

func (l *LogoutLogic) Logout(req *types.LogoutReq) (err error)

Jump to

Keyboard shortcuts

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