Documentation
¶
Index ¶
- type Adapter
- func (a *Adapter) CheckProductStockQuantity(ctx context.Context, req *inventorypb.CheckProductStockQuantityRequest) (res *inventorypb.CheckProductStockQuantityResponse, err error)
- func (a *Adapter) GetProductDetails(ctx context.Context, req *inventorypb.GetProductDetailsRequest) (res *inventorypb.GetProductDetailsResponse, err error)
- func (a *Adapter) ReduceProductStockQuantity(ctx context.Context, req *inventorypb.ReduceProductStockQuantityRequest) (res *inventorypb.ReduceProductStockQuantityResponse, err error)
- func (a *Adapter) Run()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct { inventorypb.UnimplementedInventoryServiceServer // contains filtered or unexported fields }
func (*Adapter) CheckProductStockQuantity ¶
func (a *Adapter) CheckProductStockQuantity(ctx context.Context, req *inventorypb.CheckProductStockQuantityRequest) (res *inventorypb.CheckProductStockQuantityResponse, err error)
func (*Adapter) GetProductDetails ¶
func (a *Adapter) GetProductDetails(ctx context.Context, req *inventorypb.GetProductDetailsRequest) (res *inventorypb.GetProductDetailsResponse, err error)
func (*Adapter) ReduceProductStockQuantity ¶
func (a *Adapter) ReduceProductStockQuantity(ctx context.Context, req *inventorypb.ReduceProductStockQuantityRequest) (res *inventorypb.ReduceProductStockQuantityResponse, err error)
Click to show internal directories.
Click to hide internal directories.