role

package
v0.0.0-...-653fb89 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddLogic

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

func NewAddLogic

func NewAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddLogic

func (*AddLogic) Add

func (l *AddLogic) Add(req *types.RoleAddReq) error

type EditLogic

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

func NewEditLogic

func NewEditLogic(ctx context.Context, svcCtx *svc.ServiceContext) *EditLogic

func (*EditLogic) Edit

func (l *EditLogic) Edit(req *types.RoleEditReq) error

type ListLogic

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

func NewListLogic

func NewListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListLogic

func (*ListLogic) List

func (l *ListLogic) List(req *types.RolePageReq) (resp *types.RolePageResp, err error)

type QueryByIdLogic

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

func NewQueryByIdLogic

func NewQueryByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryByIdLogic

func (*QueryByIdLogic) QueryById

func (l *QueryByIdLogic) QueryById(req *types.FormParamId) (resp *types.RoleResp, err error)

type RemoveByIdLogic

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

func NewRemoveByIdLogic

func NewRemoveByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RemoveByIdLogic

func (*RemoveByIdLogic) RemoveById

func (l *RemoveByIdLogic) RemoveById(req *types.FormParamId) error

type RemoveByIdsLogic

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

func NewRemoveByIdsLogic

func NewRemoveByIdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RemoveByIdsLogic

func (*RemoveByIdsLogic) RemoveByIds

func (l *RemoveByIdsLogic) RemoveByIds(req *types.FormParamIds) error

Jump to

Keyboard shortcuts

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