role

package
v0.2.4-beta Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 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 CreateRoleLogic added in v0.2.4

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

func NewCreateRoleLogic added in v0.2.4

func NewCreateRoleLogic(r *http.Request, svcCtx *svc.ServiceContext) *CreateRoleLogic

func (*CreateRoleLogic) CreateRole added in v0.2.4

func (l *CreateRoleLogic) CreateRole(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.IDsReq) (resp *types.BaseMsgResp, err error)

type GetRoleByIdLogic added in v0.2.4

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

func NewGetRoleByIdLogic added in v0.2.4

func NewGetRoleByIdLogic(r *http.Request, svcCtx *svc.ServiceContext) *GetRoleByIdLogic

func (*GetRoleByIdLogic) GetRoleById added in v0.2.4

func (l *GetRoleByIdLogic) GetRoleById(req *types.IDReq) (resp *types.RoleInfoResp, 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.RoleListReq) (resp *types.RoleListResp, err error)

type UpdateRoleLogic added in v0.2.4

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

func NewUpdateRoleLogic added in v0.2.4

func NewUpdateRoleLogic(r *http.Request, svcCtx *svc.ServiceContext) *UpdateRoleLogic

func (*UpdateRoleLogic) UpdateRole added in v0.2.4

func (l *UpdateRoleLogic) UpdateRole(req *types.RoleInfo) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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