user

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJwtToken added in v0.0.8

func GetJwtToken(secretKey, uuid string, iat, seconds, roleId int64) (string, error)

Types

type ChangePasswordLogic

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

func NewChangePasswordLogic

func NewChangePasswordLogic(r *http.Request, svcCtx *svc.ServiceContext) *ChangePasswordLogic

func (*ChangePasswordLogic) ChangePassword

func (l *ChangePasswordLogic) ChangePassword(req *types.ChangePasswordReq) (resp *types.BaseMsgResp, err error)

type CreateOrUpdateUserLogic

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

func NewCreateOrUpdateUserLogic

func NewCreateOrUpdateUserLogic(r *http.Request, svcCtx *svc.ServiceContext) *CreateOrUpdateUserLogic

func (*CreateOrUpdateUserLogic) CreateOrUpdateUser

func (l *CreateOrUpdateUserLogic) CreateOrUpdateUser(req *types.CreateOrUpdateUserReq) (resp *types.BaseMsgResp, err error)

type DeleteUserLogic

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

func NewDeleteUserLogic

func NewDeleteUserLogic(r *http.Request, svcCtx *svc.ServiceContext) *DeleteUserLogic

func (*DeleteUserLogic) DeleteUser

func (l *DeleteUserLogic) DeleteUser(req *types.IDReq) (resp *types.BaseMsgResp, err error)

type GetUserInfoLogic

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

func NewGetUserInfoLogic

func NewGetUserInfoLogic(r *http.Request, svcCtx *svc.ServiceContext) *GetUserInfoLogic

func (*GetUserInfoLogic) GetUserInfo

func (l *GetUserInfoLogic) GetUserInfo() (resp *types.GetUserInfoResp, err error)

type GetUserListLogic

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

func NewGetUserListLogic

func NewGetUserListLogic(r *http.Request, svcCtx *svc.ServiceContext) *GetUserListLogic

func (*GetUserListLogic) GetUserList

func (l *GetUserListLogic) GetUserList(req *types.GetUserListReq) (resp *types.UserListResp, err error)

type GetUserPermCodeLogic

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

func NewGetUserPermCodeLogic

func NewGetUserPermCodeLogic(r *http.Request, svcCtx *svc.ServiceContext) *GetUserPermCodeLogic

func (*GetUserPermCodeLogic) GetUserPermCode

func (l *GetUserPermCodeLogic) GetUserPermCode() (resp *types.PermCodeResp, err error)

type GetUserProfileLogic added in v0.0.2

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

func NewGetUserProfileLogic added in v0.0.2

func NewGetUserProfileLogic(r *http.Request, svcCtx *svc.ServiceContext) *GetUserProfileLogic

func (*GetUserProfileLogic) GetUserProfile added in v0.0.2

func (l *GetUserProfileLogic) GetUserProfile() (resp *types.ProfileResp, err error)

type LoginLogic

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

func NewLoginLogic

func NewLoginLogic(r *http.Request, svcCtx *svc.ServiceContext) *LoginLogic

func (*LoginLogic) Login

func (l *LoginLogic) Login(req *types.LoginReq) (resp *types.LoginResp, err error)

type LogoutLogic added in v0.1.1

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

func NewLogoutLogic added in v0.1.1

func NewLogoutLogic(r *http.Request, svcCtx *svc.ServiceContext) *LogoutLogic

func (*LogoutLogic) Logout added in v0.1.1

func (l *LogoutLogic) Logout() (resp *types.BaseMsgResp, err error)

type RegisterLogic

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

func NewRegisterLogic

func NewRegisterLogic(r *http.Request, svcCtx *svc.ServiceContext) *RegisterLogic

func (*RegisterLogic) Register

func (l *RegisterLogic) Register(req *types.RegisterReq) (resp *types.BaseMsgResp, err error)

type UpdateUserProfileLogic added in v0.0.2

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

func NewUpdateUserProfileLogic added in v0.0.2

func NewUpdateUserProfileLogic(r *http.Request, svcCtx *svc.ServiceContext) *UpdateUserProfileLogic

func (*UpdateUserProfileLogic) UpdateUserProfile added in v0.0.2

func (l *UpdateUserProfileLogic) UpdateUserProfile(req *types.ProfileReq) (resp *types.BaseMsgResp, err error)

type UpdateUserStatusLogic added in v0.1.4

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

func NewUpdateUserStatusLogic added in v0.1.4

func NewUpdateUserStatusLogic(r *http.Request, svcCtx *svc.ServiceContext) *UpdateUserStatusLogic

func (*UpdateUserStatusLogic) UpdateUserStatus added in v0.1.4

func (l *UpdateUserStatusLogic) UpdateUserStatus(req *types.StatusCodeReq) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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