position

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 10 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(in *core.PositionInfo) (*core.BaseIDResp, 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(in *core.IDsReq) (*core.BaseResp, 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(in *core.IDReq) (*core.PositionInfo, 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

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(in *core.PositionInfo) (*core.BaseResp, error)

Jump to

Keyboard shortcuts

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