client

package
v0.0.0-...-f146a03 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

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