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 GetUsersByIdsLogic
- type UpdateUserLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
type GetUserByIdLogic ¶
func NewGetUserByIdLogic ¶
func NewGetUserByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByIdLogic
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 GetUsersByIdsLogic ¶
func NewGetUsersByIdsLogic ¶
func NewGetUsersByIdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUsersByIdsLogic
func (*GetUsersByIdsLogic) GetUsersByIds ¶
func (l *GetUsersByIdsLogic) GetUsersByIds(in *core.UUIDsReq) (*core.UserListResp, error)
type UpdateUserLogic ¶
func NewUpdateUserLogic ¶
func NewUpdateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserLogic
Source Files
¶
- create_user_logic.go
- delete_user_logic.go
- get_user_by_id_logic.go
- get_user_by_username_logic.go
- get_user_list_logic.go
- get_users_by_ids_logic.go
- update_user_logic.go
Click to show internal directories.
Click to hide internal directories.