Documentation ¶
Index ¶
- func GetPositionIds(data []*ent.Position) []uint64
- func GetRoleCodes(data []*ent.Role) []string
- func GetRoleIds(data []*ent.Role) []uint64
- func GetRoleNames(data []*ent.Role) []string
- type CreateUserLogic
- type DeleteUserLogic
- type GetUserByIdLogic
- type GetUserByUsernameLogic
- type GetUserListLogic
- type UpdateUserLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPositionIds ¶
func GetRoleCodes ¶
func GetRoleIds ¶
func GetRoleNames ¶
Types ¶
type CreateUserLogic ¶
func NewCreateUserLogic ¶
func NewCreateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateUserLogic
func (*CreateUserLogic) CreateUser ¶
func (l *CreateUserLogic) CreateUser(in *core.UserInfo) (*core.BaseUUIDResp, error)
type DeleteUserLogic ¶
func NewDeleteUserLogic ¶
func NewDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteUserLogic
func (*DeleteUserLogic) DeleteUser ¶
type GetUserByIdLogic ¶
func NewGetUserByIdLogic ¶
func NewGetUserByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByIdLogic
func (*GetUserByIdLogic) GetUserById ¶
type GetUserByUsernameLogic ¶
func NewGetUserByUsernameLogic ¶
func NewGetUserByUsernameLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByUsernameLogic
func (*GetUserByUsernameLogic) GetUserByUsername ¶
func (l *GetUserByUsernameLogic) GetUserByUsername(in *core.UsernameReq) (*core.UserInfo, error)
type GetUserListLogic ¶
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 ¶
func NewUpdateUserLogic ¶
func NewUpdateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserLogic
func (*UpdateUserLogic) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.