logic

package
v0.0.0-...-592b0ac Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckTokenLogic

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

func NewCheckTokenLogic

func NewCheckTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CheckTokenLogic

func (*CheckTokenLogic) CheckToken

func (l *CheckTokenLogic) CheckToken(in *user.CheckTokenReq) (*user.CheckTokenResp, error)

type GetUserInfoLogic

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

func NewGetUserInfoLogic

func NewGetUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserInfoLogic

func (*GetUserInfoLogic) GetUserInfo

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) GetUserCore

func (l *LoginLogic) GetUserCore(in *user.LoginReq) (uc *model.UserCore, err error)

func (*LoginLogic) Login

func (l *LoginLogic) Login(in *user.LoginReq) (*user.LoginResp, error)

type ModifyUserInfoLogic

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

func NewModifyUserInfoLogic

func NewModifyUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ModifyUserInfoLogic

func (*ModifyUserInfoLogic) Handle

func (l *ModifyUserInfoLogic) Handle(key, value string) error

func (*ModifyUserInfoLogic) HandleUserName

func (l *ModifyUserInfoLogic) HandleUserName(value string) error

func (*ModifyUserInfoLogic) ModifyUserInfo

func (l *ModifyUserInfoLogic) ModifyUserInfo(in *user.ModifyUserInfoReq) (*user.NilResp, error)

type Register2Logic

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

func NewRegister2Logic

func NewRegister2Logic(ctx context.Context, svcCtx *svc.ServiceContext) *Register2Logic

func (*Register2Logic) CheckInfo

func (l *Register2Logic) CheckInfo(in *user.Register2Req) (err error)

func (*Register2Logic) CheckPwd

func (l *Register2Logic) CheckPwd(in *user.Register2Req) error

func (*Register2Logic) CheckUserCore

func (l *Register2Logic) CheckUserCore(in *user.Register2Req) (*model.UserCore, error)

func (*Register2Logic) CheckUserName

func (l *Register2Logic) CheckUserName(in *user.Register2Req) error

func (*Register2Logic) Register2

func (l *Register2Logic) Register2(in *user.Register2Req) (*user.Register2Resp, error)

type RegisterCoreLogic

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

func NewRegisterCoreLogic

func NewRegisterCoreLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterCoreLogic

func (*RegisterCoreLogic) RegisterCore

Jump to

Keyboard shortcuts

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