role

package
v0.0.0-...-5d74809 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddRoleLogic

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

func NewAddRoleLogic

func NewAddRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddRoleLogic

func (*AddRoleLogic) AddRole

func (l *AddRoleLogic) AddRole(req *types.AddRoleReq) (resp *types.AddRoleResp, err 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(req *types.DeleteRoleReq) (resp *types.DeleteRoleResp, err error)

type ListRoleLogic

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

func NewListRoleLogic

func NewListRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListRoleLogic

func (*ListRoleLogic) ListRole

func (l *ListRoleLogic) ListRole(req *types.ListRoleReq) (resp *types.ListRoleResp, err 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(req *types.UpdateRoleReq) (resp *types.UpdateRoleResp, err error)

Jump to

Keyboard shortcuts

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