Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProductService ¶
func NewProductService() product.ProductServiceServer
Types ¶
type ProductService ¶
type ProductService struct{}
func (*ProductService) GetProduct ¶
func (p *ProductService) GetProduct(ctx context.Context, req *product.GetProductRequest) (*product.GetProductResponse, error)
func (*ProductService) TopProducts ¶
func (p *ProductService) TopProducts(ctx context.Context, req *product.TopProductsRequest) (*product.TopProductsResponse, error)
Click to show internal directories.
Click to hide internal directories.