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(req *types.RoleInfo) (resp *types.BaseMsgResp, err error)
type DeleteRoleLogic ¶
func NewDeleteRoleLogic ¶
func NewDeleteRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteRoleLogic
func (*DeleteRoleLogic) DeleteRole ¶
func (l *DeleteRoleLogic) DeleteRole(req *types.IDsReq) (resp *types.BaseMsgResp, err error)
type GetRoleByIdLogic ¶
func NewGetRoleByIdLogic ¶
func NewGetRoleByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRoleByIdLogic
func (*GetRoleByIdLogic) GetRoleById ¶
func (l *GetRoleByIdLogic) GetRoleById(req *types.IDReq) (resp *types.RoleInfoResp, err error)
type GetRoleListLogic ¶
func NewGetRoleListLogic ¶
func NewGetRoleListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetRoleListLogic
func (*GetRoleListLogic) GetRoleList ¶
func (l *GetRoleListLogic) GetRoleList(req *types.RoleListReq) (resp *types.RoleListResp, err error)
type UpdateRoleLogic ¶
func NewUpdateRoleLogic ¶
func NewUpdateRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRoleLogic
func (*UpdateRoleLogic) UpdateRole ¶
func (l *UpdateRoleLogic) UpdateRole(req *types.RoleInfo) (resp *types.BaseMsgResp, err error)
Click to show internal directories.
Click to hide internal directories.