userlogic

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserInfoToPb

func UserInfoToPb(ui *relationDB.SysUserInfo) *sys.UserInfo

Types

type CheckTokenLogic

type CheckTokenLogic struct {
	logx.Logger
	UiDB *relationDB.UserInfoRepo
	// contains filtered or unexported fields
}

func NewUserCheckTokenLogic added in v0.5.1

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

func (*CheckTokenLogic) UserCheckToken added in v0.5.1

func (l *CheckTokenLogic) UserCheckToken(in *sys.UserCheckTokenReq) (*sys.UserCheckTokenResp, error)

type CreateLogic

type CreateLogic struct {
	logx.Logger
	UiDB *relationDB.UserInfoRepo
	// contains filtered or unexported fields
}

func NewUserCreateLogic added in v0.5.1

func NewUserCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic

func (*CreateLogic) CheckPwd

func (l *CreateLogic) CheckPwd(in *sys.UserInfo) error

func (*CreateLogic) UserCreate added in v0.5.1

func (l *CreateLogic) UserCreate(in *sys.UserInfo) (*sys.UserCreateResp, error)

type DeleteLogic

type DeleteLogic struct {
	logx.Logger
	UiDB *relationDB.UserInfoRepo
	// contains filtered or unexported fields
}

func NewUserDeleteLogic added in v0.5.1

func NewUserDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic

func (*DeleteLogic) UserDelete added in v0.5.1

func (l *DeleteLogic) UserDelete(in *sys.UserDeleteReq) (*sys.Response, error)

type IndexLogic

type IndexLogic struct {
	logx.Logger
	UiDB *relationDB.UserInfoRepo
	// contains filtered or unexported fields
}

func NewUserIndexLogic added in v0.5.1

func NewUserIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic

func (*IndexLogic) UserIndex added in v0.5.1

func (l *IndexLogic) UserIndex(in *sys.UserIndexReq) (*sys.UserIndexResp, error)

type LoginLogic

type LoginLogic struct {
	logx.Logger
	UiDB *relationDB.UserInfoRepo
	// contains filtered or unexported fields
}

func NewUserLoginLogic added in v0.5.1

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

func (*LoginLogic) GetUserInfo

func (l *LoginLogic) GetUserInfo(in *sys.UserLoginReq) (uc *relationDB.SysUserInfo, err error)

func (*LoginLogic) UserLogin added in v0.5.1

func (l *LoginLogic) UserLogin(in *sys.UserLoginReq) (*sys.UserLoginResp, error)

type ReadLogic

type ReadLogic struct {
	logx.Logger
	UiDB *relationDB.UserInfoRepo
	// contains filtered or unexported fields
}

func NewUserReadLogic added in v0.5.1

func NewUserReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic

func (*ReadLogic) UserRead added in v0.5.1

func (l *ReadLogic) UserRead(in *sys.UserReadReq) (*sys.UserInfo, error)

type UpdateLogic

type UpdateLogic struct {
	logx.Logger
	UiDB *relationDB.UserInfoRepo
	// contains filtered or unexported fields
}

func NewUserUpdateLogic added in v0.5.1

func NewUserUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic

func (*UpdateLogic) UserUpdate added in v0.5.1

func (l *UpdateLogic) UserUpdate(in *sys.UserInfo) (*sys.Response, error)

Jump to

Keyboard shortcuts

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