user

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPositionIds added in v0.2.4

func GetPositionIds(data []*ent.Position) []uint64

func GetRoleCodes added in v0.2.4

func GetRoleCodes(data []*ent.Role) []string

func GetRoleIds added in v0.2.4

func GetRoleIds(data []*ent.Role) []uint64

func GetRoleNames added in v1.1.4

func GetRoleNames(data []*ent.Role) []string

Types

type CreateUserLogic added in v0.2.4

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

func NewCreateUserLogic added in v0.2.4

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

func (*CreateUserLogic) CreateUser added in v0.2.4

func (l *CreateUserLogic) CreateUser(in *core.UserInfo) (*core.BaseUUIDResp, 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.UUIDsReq) (*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.UserInfo, error)

type GetUserByUsernameLogic added in v0.2.4

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

func NewGetUserByUsernameLogic added in v0.2.4

func NewGetUserByUsernameLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByUsernameLogic

func (*GetUserByUsernameLogic) GetUserByUsername added in v0.2.4

func (l *GetUserByUsernameLogic) GetUserByUsername(in *core.UsernameReq) (*core.UserInfo, 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.UserListReq) (*core.UserListResp, error)

type UpdateUserLogic added in v0.2.4

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

func NewUpdateUserLogic added in v0.2.4

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

func (*UpdateUserLogic) UpdateUser added in v0.2.4

func (l *UpdateUserLogic) UpdateUser(in *core.UserInfo) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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