position

package
v1.0.6 Latest Latest
Warning

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

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

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

func NewCreatePositionLogic added in v0.2.4

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

func (*CreatePositionLogic) CreatePosition added in v0.2.4

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 added in v0.2.4

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

func NewGetPositionByIdLogic added in v0.2.4

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

func (*GetPositionByIdLogic) GetPositionById added in v0.2.4

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 added in v0.2.4

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

func NewUpdatePositionLogic added in v0.2.4

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

func (*UpdatePositionLogic) UpdatePosition added in v0.2.4

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