role

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOrUpdateRoleLogic

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

func NewCreateOrUpdateRoleLogic

func NewCreateOrUpdateRoleLogic(r *http.Request, svcCtx *svc.ServiceContext) *CreateOrUpdateRoleLogic

func (*CreateOrUpdateRoleLogic) CreateOrUpdateRole

func (l *CreateOrUpdateRoleLogic) CreateOrUpdateRole(req *types.RoleInfo) (resp *types.BaseMsgResp, err error)

type DeleteRoleLogic

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

func NewDeleteRoleLogic

func NewDeleteRoleLogic(r *http.Request, svcCtx *svc.ServiceContext) *DeleteRoleLogic

func (*DeleteRoleLogic) DeleteRole

func (l *DeleteRoleLogic) DeleteRole(req *types.IDReq) (resp *types.BaseMsgResp, err error)

type GetRoleListLogic

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

func NewGetRoleListLogic

func NewGetRoleListLogic(r *http.Request, svcCtx *svc.ServiceContext) *GetRoleListLogic

func (*GetRoleListLogic) GetRoleList

func (l *GetRoleListLogic) GetRoleList(req *types.PageInfo) (resp *types.RoleListResp, err error)

type UpdateRoleStatusLogic added in v0.1.4

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

func NewUpdateRoleStatusLogic added in v0.1.4

func NewUpdateRoleStatusLogic(r *http.Request, svcCtx *svc.ServiceContext) *UpdateRoleStatusLogic

func (*UpdateRoleStatusLogic) UpdateRoleStatus added in v0.1.4

func (l *UpdateRoleStatusLogic) UpdateRoleStatus(req *types.StatusCodeReq) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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