position

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 11 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(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

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(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

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

Jump to

Keyboard shortcuts

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