Documentation ¶
Index ¶
- func IfUniqueHasExists(user *model.User) error
- type ChangePasswordLogic
- type DeleteUserLogic
- type FindUserByUsernameLogic
- type QuerySelfInfoLogic
- type QueryUserDetailLogic
- type QueryUserListLogic
- type RegisterLogic
- type ResetPasswordLogic
- type SetSelfInfoLogic
- type SetUserInfoLogic
- type SetUserRoleLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IfUniqueHasExists ¶
Types ¶
type ChangePasswordLogic ¶
func NewChangePasswordLogic ¶
func NewChangePasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangePasswordLogic
func (*ChangePasswordLogic) ChangePassword ¶
func (l *ChangePasswordLogic) ChangePassword(in *system.ChangePasswordReq) (*system.ChangePasswordResp, error)
type DeleteUserLogic ¶
func NewDeleteUserLogic ¶
func NewDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteUserLogic
func (*DeleteUserLogic) DeleteUser ¶
func (l *DeleteUserLogic) DeleteUser(in *system.DeleteUserReq) (*system.DeleteUserResp, error)
type FindUserByUsernameLogic ¶
func NewFindUserByUsernameLogic ¶
func NewFindUserByUsernameLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindUserByUsernameLogic
func (*FindUserByUsernameLogic) FindUserByUsername ¶
func (l *FindUserByUsernameLogic) FindUserByUsername(in *system.FindUserByUsernameReq) (*system.FindUserByUsernameResp, error)
type QuerySelfInfoLogic ¶
func NewQuerySelfInfoLogic ¶
func NewQuerySelfInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QuerySelfInfoLogic
func (*QuerySelfInfoLogic) QuerySelfInfo ¶
func (l *QuerySelfInfoLogic) QuerySelfInfo(in *system.QuerySelfInfoReq) (*system.QuerySelfInfoResp, error)
type QueryUserDetailLogic ¶
func NewQueryUserDetailLogic ¶
func NewQueryUserDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryUserDetailLogic
func (*QueryUserDetailLogic) QueryUserDetail ¶
func (l *QueryUserDetailLogic) QueryUserDetail(in *system.QueryUserDetailReq) (*system.QueryUserDetailResp, error)
type QueryUserListLogic ¶
func NewQueryUserListLogic ¶
func NewQueryUserListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryUserListLogic
func (*QueryUserListLogic) QueryUserList ¶
func (l *QueryUserListLogic) QueryUserList(in *system.QueryUserListReq) (*system.QueryUserListResp, error)
type RegisterLogic ¶
func NewRegisterLogic ¶
func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterLogic
func (*RegisterLogic) Register ¶
func (l *RegisterLogic) Register(in *system.RegisterReq) (*system.RegisterResp, error)
type ResetPasswordLogic ¶
func NewResetPasswordLogic ¶
func NewResetPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ResetPasswordLogic
func (*ResetPasswordLogic) ResetPassword ¶
func (l *ResetPasswordLogic) ResetPassword(in *system.ResetPasswordReq) (*system.ResetPasswordResp, error)
type SetSelfInfoLogic ¶
func NewSetSelfInfoLogic ¶
func NewSetSelfInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetSelfInfoLogic
func (*SetSelfInfoLogic) SetSelfInfo ¶
func (l *SetSelfInfoLogic) SetSelfInfo(in *system.SetSelfInfoReq) (*system.SetSelfInfoResp, error)
type SetUserInfoLogic ¶
func NewSetUserInfoLogic ¶
func NewSetUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetUserInfoLogic
func (*SetUserInfoLogic) SetUserInfo ¶
func (l *SetUserInfoLogic) SetUserInfo(in *system.SetUserInfoReq) (*system.SetUserInfoResp, error)
type SetUserRoleLogic ¶
func NewSetUserRoleLogic ¶
func NewSetUserRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetUserRoleLogic
func (*SetUserRoleLogic) SetUserRole ¶
func (l *SetUserRoleLogic) SetUserRole(in *system.SetUserRoleReq) (*system.SetUserRoleResp, error)
Click to show internal directories.
Click to hide internal directories.