role

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRoleLogic

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

func NewCreateRoleLogic

func NewCreateRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateRoleLogic

func (*CreateRoleLogic) CreateRole

func (l *CreateRoleLogic) CreateRole(in *core.RoleInfo) (*core.BaseIDResp, 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.IDsReq) (*core.BaseResp, 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.RoleListReq) (*core.RoleListResp, error)

type UpdateRoleLogic

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

func NewUpdateRoleLogic

func NewUpdateRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRoleLogic

func (*UpdateRoleLogic) UpdateRole

func (l *UpdateRoleLogic) UpdateRole(in *core.RoleInfo) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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