logic

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePasswordLogic

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

func NewChangePasswordLogic

func NewChangePasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangePasswordLogic

func (*ChangePasswordLogic) ChangePassword

func (l *ChangePasswordLogic) ChangePassword(in *core.ChangePasswordReq) (*core.BaseResp, error)

type CreateMenuParamLogic

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

func NewCreateMenuParamLogic

func NewCreateMenuParamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateMenuParamLogic

func (*CreateMenuParamLogic) CreateMenuParam

func (l *CreateMenuParamLogic) CreateMenuParam(in *core.CreateMenuParamReq) (*core.BaseResp, error)

type CreateOrUpdateApiLogic

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

func NewCreateOrUpdateApiLogic

func NewCreateOrUpdateApiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateApiLogic

func (*CreateOrUpdateApiLogic) CreateOrUpdateApi

func (l *CreateOrUpdateApiLogic) CreateOrUpdateApi(in *core.ApiInfo) (*core.BaseResp, error)

api management service

type CreateOrUpdateMenuAuthorityLogic

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

func NewCreateOrUpdateMenuAuthorityLogic

func NewCreateOrUpdateMenuAuthorityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateMenuAuthorityLogic

func (*CreateOrUpdateMenuAuthorityLogic) CreateOrUpdateMenuAuthority

func (l *CreateOrUpdateMenuAuthorityLogic) CreateOrUpdateMenuAuthority(in *core.RoleMenuAuthorityReq) (*core.BaseResp, error)

type CreateOrUpdateMenuLogic

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

func NewCreateOrUpdateMenuLogic

func NewCreateOrUpdateMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateMenuLogic

func (*CreateOrUpdateMenuLogic) CreateOrUpdateMenu

func (l *CreateOrUpdateMenuLogic) CreateOrUpdateMenu(in *core.CreateOrUpdateMenuReq) (*core.BaseResp, error)

type CreateOrUpdateRoleLogic

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

func NewCreateOrUpdateRoleLogic

func NewCreateOrUpdateRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateRoleLogic

func (*CreateOrUpdateRoleLogic) CreateOrUpdateRole

func (l *CreateOrUpdateRoleLogic) CreateOrUpdateRole(in *core.RoleInfo) (*core.BaseResp, error)

role service

func (*CreateOrUpdateRoleLogic) UpdateRoleInfoInRedis

func (l *CreateOrUpdateRoleLogic) UpdateRoleInfoInRedis() error

type CreateOrUpdateUserLogic

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

func NewCreateOrUpdateUserLogic

func NewCreateOrUpdateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateOrUpdateUserLogic

func (*CreateOrUpdateUserLogic) CreateOrUpdateUser

func (l *CreateOrUpdateUserLogic) CreateOrUpdateUser(in *core.CreateOrUpdateUserReq) (*core.BaseResp, error)

type DeleteApiLogic

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

func NewDeleteApiLogic

func NewDeleteApiLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteApiLogic

func (*DeleteApiLogic) DeleteApi

func (l *DeleteApiLogic) DeleteApi(in *core.IDReq) (*core.BaseResp, error)

type DeleteMenuLogic

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

func NewDeleteMenuLogic

func NewDeleteMenuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteMenuLogic

func (*DeleteMenuLogic) DeleteMenu

func (l *DeleteMenuLogic) DeleteMenu(in *core.IDReq) (*core.BaseResp, error)

type DeleteMenuParamLogic

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

func NewDeleteMenuParamLogic

func NewDeleteMenuParamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteMenuParamLogic

func (*DeleteMenuParamLogic) DeleteMenuParam

func (l *DeleteMenuParamLogic) DeleteMenuParam(in *core.IDReq) (*core.BaseResp, error)

type DeleteRoleLogic

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

func NewDeleteRoleLogic

func NewDeleteRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteRoleLogic

func (*DeleteRoleLogic) DeleteRole

func (l *DeleteRoleLogic) DeleteRole(in *core.IDReq) (*core.BaseResp, error)

type DeleteUserLogic

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

func NewDeleteUserLogic

func NewDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteUserLogic

func (*DeleteUserLogic) DeleteUser

func (l *DeleteUserLogic) DeleteUser(in *core.IDReq) (*core.BaseResp, error)

type GeMenuParamListByIdLogic

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

func NewGeMenuParamListByIdLogic

func NewGeMenuParamListByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GeMenuParamListByIdLogic

func (*GeMenuParamListByIdLogic) GeMenuParamListById

func (l *GeMenuParamListByIdLogic) GeMenuParamListById(in *core.IDReq) (*core.MenuParamListResp, error)

type GetApiListLogic

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

func NewGetApiListLogic

func NewGetApiListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetApiListLogic

func (*GetApiListLogic) GetApiList

func (l *GetApiListLogic) GetApiList(in *core.ApiPageReq) (*core.ApiListResp, error)

type GetMenuAuthorityLogic

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

func NewGetMenuAuthorityLogic

func NewGetMenuAuthorityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuAuthorityLogic

func (*GetMenuAuthorityLogic) GetMenuAuthority

func (l *GetMenuAuthorityLogic) GetMenuAuthority(in *core.IDReq) (*core.RoleMenuAuthorityResp, error)

authorization management service

type GetMenuByPageLogic

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

func NewGetMenuByPageLogic

func NewGetMenuByPageLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuByPageLogic

func (*GetMenuByPageLogic) GetMenuByPage

func (l *GetMenuByPageLogic) GetMenuByPage(in *core.PageInfoReq) (*core.MenuInfoList, error)

type GetMenuListByRoleLogic

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

func NewGetMenuListByRoleLogic

func NewGetMenuListByRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuListByRoleLogic

func (*GetMenuListByRoleLogic) GetMenuListByRole

func (l *GetMenuListByRoleLogic) GetMenuListByRole(in *core.IDReq) (*core.MenuInfoList, error)

type GetMenuParamByIdLogic

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

func NewGetMenuParamByIdLogic

func NewGetMenuParamByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetMenuParamByIdLogic

func (*GetMenuParamByIdLogic) GetMenuParamById

func (l *GetMenuParamByIdLogic) GetMenuParamById(in *core.IDReq) (*core.MenuParamResp, error)

type GetRoleByIdLogic

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

func NewGetRoleByIdLogic

func NewGetRoleByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRoleByIdLogic

func (*GetRoleByIdLogic) GetRoleById

func (l *GetRoleByIdLogic) GetRoleById(in *core.IDReq) (*core.RoleInfo, error)

type GetRoleListLogic

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

func NewGetRoleListLogic

func NewGetRoleListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRoleListLogic

func (*GetRoleListLogic) GetRoleList

func (l *GetRoleListLogic) GetRoleList(in *core.PageInfoReq) (*core.RoleListResp, error)

type GetUserByIdLogic

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

func NewGetUserByIdLogic

func NewGetUserByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserByIdLogic

func (*GetUserByIdLogic) GetUserById

func (l *GetUserByIdLogic) GetUserById(in *core.UUIDReq) (*core.UserInfoResp, error)

type GetUserListLogic

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

func NewGetUserListLogic

func NewGetUserListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserListLogic

func (*GetUserListLogic) GetUserList

func (l *GetUserListLogic) GetUserList(in *core.GetUserListReq) (*core.UserListResp, error)

type InitDatabaseLogic

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

func NewInitDatabaseLogic

func NewInitDatabaseLogic(ctx context.Context, svcCtx *svc.ServiceContext) *InitDatabaseLogic

func (*InitDatabaseLogic) InitDatabase

func (l *InitDatabaseLogic) InitDatabase(in *core.Empty) (*core.BaseResp, error)

type LoginLogic

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

func NewLoginLogic

func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic

func (*LoginLogic) Login

func (l *LoginLogic) Login(in *core.LoginReq) (*core.LoginResp, error)

user service

type SetRoleStatusLogic

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

func NewSetRoleStatusLogic

func NewSetRoleStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetRoleStatusLogic

func (*SetRoleStatusLogic) SetRoleStatus

func (l *SetRoleStatusLogic) SetRoleStatus(in *core.SetStatusReq) (*core.BaseResp, error)

type UpdateMenuParamLogic

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

func NewUpdateMenuParamLogic

func NewUpdateMenuParamLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateMenuParamLogic

func (*UpdateMenuParamLogic) UpdateMenuParam

func (l *UpdateMenuParamLogic) UpdateMenuParam(in *core.UpdateMenuParamReq) (*core.BaseResp, error)

type UpdateProfileLogic added in v0.0.2

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

func NewUpdateProfileLogic added in v0.0.2

func NewUpdateProfileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateProfileLogic

func (*UpdateProfileLogic) UpdateProfile added in v0.0.2

func (l *UpdateProfileLogic) UpdateProfile(in *core.UpdateProfileReq) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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