logic

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VerifyCodeKey = "verify_code"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SendVerifyCodeLogic

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

func NewSendVerifyCodeLogic

func NewSendVerifyCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendVerifyCodeLogic

func (*SendVerifyCodeLogic) SendVerifyCode

type SetPasswordLogic

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

func NewSetPasswordLogic

func NewSetPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetPasswordLogic

func (*SetPasswordLogic) SetPassword

func (l *SetPasswordLogic) SetPassword(in *pb.SetPasswordReq) (*pb.SetPasswordResp, error)

type SignInLogic

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

func NewSignInLogic

func NewSignInLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SignInLogic

func (*SignInLogic) SignIn

func (l *SignInLogic) SignIn(in *pb.SignInReq) (resp *pb.SignInResp, err error)

Jump to

Keyboard shortcuts

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