Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIPermissionLogic ¶
func NewAPIPermissionLogic ¶
func NewAPIPermissionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *APIPermissionLogic
func (*APIPermissionLogic) APIPermission ¶
func (l *APIPermissionLogic) APIPermission(req *types.RoleAPIPermissionRequest) (resp *types.RoleAPIPermissionResponse, err error)
type AllLogic ¶
func NewAllLogic ¶
func NewAllLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AllLogic
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.RoleCreateRequest) (resp *types.HttpCommonResponse, err error)
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
func (*DeleteLogic) Delete ¶
func (l *DeleteLogic) Delete(req *types.RoleDeleteRequest) (resp *types.HttpCommonResponse, err error)
type DeleteSoftLogic ¶
func NewDeleteSoftLogic ¶
func NewDeleteSoftLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteSoftLogic
func (*DeleteSoftLogic) DeleteSoft ¶
func (l *DeleteSoftLogic) DeleteSoft(req *types.RoleDeleteSoftRequest) (resp *types.HttpCommonResponse, err error)
type DetailLogic ¶
func NewDetailLogic ¶
func NewDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DetailLogic
func (*DetailLogic) Detail ¶
func (l *DetailLogic) Detail(req *types.RoleDetailRequest) (resp *types.RoleDetailResponse, err error)
type MenuPermissionLogic ¶
func NewMenuPermissionLogic ¶
func NewMenuPermissionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MenuPermissionLogic
func (*MenuPermissionLogic) MenuPermission ¶
func (l *MenuPermissionLogic) MenuPermission(req *types.RoleMenuPermissionRequest) (resp *types.RoleMenuPermissionResponse, err error)
type RefreshPermissionLogic ¶
func NewRefreshPermissionLogic ¶
func NewRefreshPermissionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RefreshPermissionLogic
func (*RefreshPermissionLogic) RefreshPermission ¶
func (l *RefreshPermissionLogic) RefreshPermission() (resp *types.HttpCommonResponse, err error)
type UpdateAPIPermissionLogic ¶
func NewUpdateAPIPermissionLogic ¶
func NewUpdateAPIPermissionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateAPIPermissionLogic
func (*UpdateAPIPermissionLogic) UpdateAPIPermission ¶
func (l *UpdateAPIPermissionLogic) UpdateAPIPermission(req *types.UpdateRoleAPIPermissionRequest) (resp *types.HttpCommonResponse, err error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.RoleUpdateRequest) (resp *types.HttpCommonResponse, err error)
type UpdateMenuPermissionLogic ¶
func NewUpdateMenuPermissionLogic ¶
func NewUpdateMenuPermissionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateMenuPermissionLogic
func (*UpdateMenuPermissionLogic) UpdateMenuPermission ¶
func (l *UpdateMenuPermissionLogic) UpdateMenuPermission(req *types.UpdateRoleMenuPermissionRequest) (resp *types.HttpCommonResponse, err error)
Click to show internal directories.
Click to hide internal directories.