Documentation ¶
Index ¶
- type Svc
- func (s *Svc) AddProduct(ctx context.Context, req *product.Product) (*product.GetProductResponse, error)
- func (s *Svc) GetProduct(ctx context.Context, req *product.GetProductRequest) (*product.GetProductResponse, error)
- func (s *Svc) GetProductCatalogue(ctx context.Context, req *emptypb.Empty) (*product.ProductCatalogue, error)
- func (h *Svc) RegisterProductService(srv *grpc.Server) error
- func (s *Svc) UpdateProduct(ctx context.Context, req *product.Product) (*product.Product, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Svc ¶
type Svc struct { product.UnimplementedProductServiceServer // contains filtered or unexported fields }
func (*Svc) AddProduct ¶
func (*Svc) GetProduct ¶
func (s *Svc) GetProduct(ctx context.Context, req *product.GetProductRequest) (*product.GetProductResponse, error)
func (*Svc) GetProductCatalogue ¶
func (*Svc) RegisterProductService ¶
RegisterService with grpc server.
Click to show internal directories.
Click to hide internal directories.