user

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRoleInfo

func GetRoleInfo(roleId uint64, rds *redis.Redis, db *ent.Client, ctx context.Context) (roleName, roleValue string, err error)

Types

type BatchDeleteUserLogic

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

func NewBatchDeleteUserLogic

func NewBatchDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteUserLogic

func (*BatchDeleteUserLogic) BatchDeleteUser

func (l *BatchDeleteUserLogic) BatchDeleteUser(in *core.UUIDsReq) (*core.BaseResp, error)

type ChangePasswordLogic

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

func NewChangePasswordLogic

func NewChangePasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangePasswordLogic

func (*ChangePasswordLogic) ChangePassword

func (l *ChangePasswordLogic) ChangePassword(in *core.ChangePasswordReq) (*core.BaseResp, error)

type CreateOrUpdateUserLogic

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

func NewCreateOrUpdateUserLogic

func NewCreateOrUpdateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateUserLogic

func (*CreateOrUpdateUserLogic) CreateOrUpdateUser

func (l *CreateOrUpdateUserLogic) CreateOrUpdateUser(in *core.CreateOrUpdateUserReq) (*core.BaseResp, error)

type DeleteUserLogic

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

func NewDeleteUserLogic

func NewDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteUserLogic

func (*DeleteUserLogic) DeleteUser

func (l *DeleteUserLogic) DeleteUser(in *core.UUIDReq) (*core.BaseResp, error)

type GetUserByIdLogic

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

func NewGetUserByIdLogic

func NewGetUserByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByIdLogic

func (*GetUserByIdLogic) GetUserById

func (l *GetUserByIdLogic) GetUserById(in *core.UUIDReq) (*core.UserInfoResp, error)

type GetUserListLogic

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

func NewGetUserListLogic

func NewGetUserListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserListLogic

func (*GetUserListLogic) GetUserList

func (l *GetUserListLogic) GetUserList(in *core.GetUserListReq) (*core.UserListResp, 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(in *core.LoginReq) (*core.LoginResp, error)

type UpdateProfileLogic

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

func NewUpdateProfileLogic

func NewUpdateProfileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateProfileLogic

func (*UpdateProfileLogic) UpdateProfile

func (l *UpdateProfileLogic) UpdateProfile(in *core.UpdateProfileReq) (*core.BaseResp, error)

type UpdateUserStatusLogic

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

func NewUpdateUserStatusLogic

func NewUpdateUserStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserStatusLogic

func (*UpdateUserStatusLogic) UpdateUserStatus

func (l *UpdateUserStatusLogic) UpdateUserStatus(in *core.StatusCodeUUIDReq) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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