Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(in *product.CreateRequest) (*product.CreateResponse, error)
type DecrStockLogic ¶
func NewDecrStockLogic ¶
func NewDecrStockLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DecrStockLogic
func (*DecrStockLogic) DecrStock ¶
func (l *DecrStockLogic) DecrStock(in *product.DecrStockRequest) (*product.DecrStockResponse, error)
type DecrStockRevertLogic ¶
func NewDecrStockRevertLogic ¶
func NewDecrStockRevertLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DecrStockRevertLogic
func (*DecrStockRevertLogic) DecrStockRevert ¶
func (l *DecrStockRevertLogic) DecrStockRevert(in *product.DecrStockRequest) (*product.DecrStockResponse, error)
type DetailLogic ¶
func NewDetailLogic ¶
func NewDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DetailLogic
func (*DetailLogic) Detail ¶
func (l *DetailLogic) Detail(in *product.DetailRequest) (*product.DetailResponse, error)
type RemoveLogic ¶
func NewRemoveLogic ¶
func NewRemoveLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RemoveLogic
func (*RemoveLogic) Remove ¶
func (l *RemoveLogic) Remove(in *product.RemoveRequest) (*product.RemoveResponse, error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(in *product.UpdateRequest) (*product.UpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.