Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRoleLogic ¶
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 ¶
func NewDeleteRoleLogic ¶
func NewDeleteRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteRoleLogic
func (*DeleteRoleLogic) DeleteRole ¶
type GetRoleListLogic ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func NewUpdateRoleLogic ¶
func NewUpdateRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRoleLogic
func (*UpdateRoleLogic) UpdateRole ¶
func (l *UpdateRoleLogic) UpdateRole(in *pb.UpdateRoleReq) (*pb.BaseResp, error)
Click to show internal directories.
Click to hide internal directories.