user

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransRoleName

func TransRoleName(svc *svc.ServiceContext, ctx context.Context, data []string) []string

TransRoleName returns the i18n translation of role name slice.

Types

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(req *types.ChangePasswordReq) (resp *types.BaseMsgResp, err error)

type CreateUserLogic

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

func NewCreateUserLogic

func NewCreateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateUserLogic

func (*CreateUserLogic) CreateUser

func (l *CreateUserLogic) CreateUser(req *types.UserInfo) (resp *types.BaseMsgResp, err 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(req *types.UUIDsReq) (resp *types.BaseMsgResp, err 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(req *types.UUIDReq) (resp *types.UserInfoResp, err 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

func (l *GetUserInfoLogic) GetUserInfo() (resp *types.UserBaseIDInfoResp, err 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(req *types.UserListReq) (resp *types.UserListResp, err error)

type GetUserPermCodeLogic

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

func NewGetUserPermCodeLogic

func NewGetUserPermCodeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserPermCodeLogic

func (*GetUserPermCodeLogic) GetUserPermCode

func (l *GetUserPermCodeLogic) GetUserPermCode() (resp *types.PermCodeResp, err error)

type GetUserProfileLogic

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

func NewGetUserProfileLogic

func NewGetUserProfileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserProfileLogic

func (*GetUserProfileLogic) GetUserProfile

func (l *GetUserProfileLogic) GetUserProfile() (resp *types.ProfileResp, 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() (resp *types.BaseMsgResp, err error)

type UpdateUserLogic

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

func NewUpdateUserLogic

func NewUpdateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserLogic

func (*UpdateUserLogic) UpdateUser

func (l *UpdateUserLogic) UpdateUser(req *types.UserInfo) (resp *types.BaseMsgResp, err error)

type UpdateUserProfileLogic

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

func NewUpdateUserProfileLogic

func NewUpdateUserProfileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserProfileLogic

func (*UpdateUserProfileLogic) UpdateUserProfile

func (l *UpdateUserProfileLogic) UpdateUserProfile(req *types.ProfileInfo) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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