rolelogic

package
v0.0.0-...-7745932 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 4 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 *pb.CreateRoleReq) (*pb.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 *pb.IDReq) (*pb.BaseResp, 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 *pb.PageInfoReq) (*pb.RoleListResp, error)

type GetRoleLogic

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

func NewGetRoleLogic

func NewGetRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRoleLogic

func (*GetRoleLogic) GetRole

func (l *GetRoleLogic) GetRole(in *pb.IDReq) (*pb.GetRoleResp, error)

type GrantApiToRoleLogic

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

func NewGrantApiToRoleLogic

func NewGrantApiToRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GrantApiToRoleLogic

func (*GrantApiToRoleLogic) GrantApiToRole

func (l *GrantApiToRoleLogic) GrantApiToRole(in *pb.GrantApiToRoleReq) (*pb.BaseResp, error)

type GrantMenuToRoleLogic

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

func NewGrantMenuToRoleLogic

func NewGrantMenuToRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GrantMenuToRoleLogic

func (*GrantMenuToRoleLogic) GrantMenuToRole

func (l *GrantMenuToRoleLogic) GrantMenuToRole(in *pb.GrantMenuToRoleReq) (*pb.BaseResp, error)

type GrantRoleToStationLogic

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

func NewGrantRoleToStationLogic

func NewGrantRoleToStationLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GrantRoleToStationLogic

func (*GrantRoleToStationLogic) GrantRoleToStation

func (l *GrantRoleToStationLogic) GrantRoleToStation(in *pb.GrantRoleToStationReq) (*pb.BaseResp, 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 *pb.UpdateRoleReq) (*pb.BaseResp, error)

Jump to

Keyboard shortcuts

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