position

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePositionLogic

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

func NewCreatePositionLogic

func NewCreatePositionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreatePositionLogic

func (*CreatePositionLogic) CreatePosition

func (l *CreatePositionLogic) CreatePosition(req *types.PositionInfo) (resp *types.BaseMsgResp, err error)

type DeletePositionLogic

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

func NewDeletePositionLogic

func NewDeletePositionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePositionLogic

func (*DeletePositionLogic) DeletePosition

func (l *DeletePositionLogic) DeletePosition(req *types.IDsReq) (resp *types.BaseMsgResp, err error)

type GetPositionByIdLogic

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

func NewGetPositionByIdLogic

func NewGetPositionByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPositionByIdLogic

func (*GetPositionByIdLogic) GetPositionById

func (l *GetPositionByIdLogic) GetPositionById(req *types.IDReq) (resp *types.PositionInfoResp, err error)

type GetPositionListLogic

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

func NewGetPositionListLogic

func NewGetPositionListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPositionListLogic

func (*GetPositionListLogic) GetPositionList

func (l *GetPositionListLogic) GetPositionList(req *types.PositionListReq) (resp *types.PositionListResp, err error)

type UpdatePositionLogic

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

func NewUpdatePositionLogic

func NewUpdatePositionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePositionLogic

func (*UpdatePositionLogic) UpdatePosition

func (l *UpdatePositionLogic) UpdatePosition(req *types.PositionInfo) (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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