Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProductServiceClient ¶
func NewProductServiceClient() pb.ProductServiceClient
Types ¶
type ProductServiceClient ¶
type ProductServiceClient struct {
Client pb.ProductServiceClient
}
func (*ProductServiceClient) DecreaseStock ¶
func (svc *ProductServiceClient) DecreaseStock(productId int64, orderId int64) (*pb.DecreaseStockResponse, error)
func (*ProductServiceClient) FindOne ¶
func (svc *ProductServiceClient) FindOne(productId int64) (*pb.FindOneResponse, error)
Click to show internal directories.
Click to hide internal directories.