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 ¶ added in v0.2.4
func GetRoleCodes ¶ added in v0.2.4
func GetRoleIds ¶ added in v0.2.4
func GetRoleNames ¶ added in v1.1.4
Types ¶
type CreateUserLogic ¶ added in v0.2.4
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 ¶
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 ¶ added in v0.2.4
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 ¶
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
func NewUpdateUserLogic ¶ added in v0.2.4
func NewUpdateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserLogic
func (*UpdateUserLogic) UpdateUser ¶ added in v0.2.4
Click to show internal directories.
Click to hide internal directories.