Documentation ¶
Index ¶
- type CatalogClientServer
- func (s *CatalogClientServer) CreateCategory(ctx context.Context, in *catalog.CreateCategoryRequest) (*catalog.CreateCategoryResponse, error)
- func (s *CatalogClientServer) CreateProduct(ctx context.Context, in *catalog.CreateProductRequest) (*catalog.CreateProductResponse, error)
- func (s *CatalogClientServer) DeleteCategory(ctx context.Context, in *catalog.DeleteCategoryRequest) (*catalog.DeleteCategoryResponse, error)
- func (s *CatalogClientServer) DeleteProduct(ctx context.Context, in *catalog.DeleteProductRequest) (*catalog.DeleteProductResponse, error)
- func (s *CatalogClientServer) GetAllCategories(ctx context.Context, in *catalog.GetAllCategoriesRequest) (*catalog.GetAllCategoriesResponse, error)
- func (s *CatalogClientServer) GetAllProducts(ctx context.Context, in *catalog.GetAllProductsRequest) (*catalog.GetAllProductsResponse, error)
- func (s *CatalogClientServer) GetCategoryById(ctx context.Context, in *catalog.GetCategoryByIdRequest) (*catalog.GetCategoryByIdResponse, error)
- func (s *CatalogClientServer) GetCategoryBySlug(ctx context.Context, in *catalog.GetCategoryBySlugRequest) (*catalog.GetCategoryBySlugResponse, error)
- func (s *CatalogClientServer) GetProductById(ctx context.Context, in *catalog.GetProductByIdRequest) (*catalog.GetProductByIdResponse, error)
- func (s *CatalogClientServer) GetProductBySku(ctx context.Context, in *catalog.GetProductBySkuRequest) (*catalog.GetProductBySkuResponse, error)
- func (s *CatalogClientServer) GetProductBySlug(ctx context.Context, in *catalog.GetProductBySlugRequest) (*catalog.GetProductBySlugResponse, error)
- func (s *CatalogClientServer) GetProductsByCategoryId(ctx context.Context, in *catalog.GetProductsByCategoryIdRequest) (*catalog.GetProductsByCategoryIdResponse, error)
- func (s *CatalogClientServer) GetProductsByCategorySlug(ctx context.Context, in *catalog.GetProductsByCategorySlugRequest) (*catalog.GetProductsByCategorySlugResponse, error)
- func (s *CatalogClientServer) UpdateCategory(ctx context.Context, in *catalog.UpdateCategoryRequest) (*catalog.UpdateCategoryResponse, error)
- func (s *CatalogClientServer) UpdateProduct(ctx context.Context, in *catalog.UpdateProductRequest) (*catalog.UpdateProductResponse, error)
- func (s *CatalogClientServer) UploadAsset(stream catalog.CatalogClient_UploadAssetServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogClientServer ¶
type CatalogClientServer struct { catalog.UnimplementedCatalogClientServer // contains filtered or unexported fields }
func NewCatalogClientServer ¶
func NewCatalogClientServer(svcCtx *svc.ServiceContext) *CatalogClientServer
func (*CatalogClientServer) CreateCategory ¶
func (s *CatalogClientServer) CreateCategory(ctx context.Context, in *catalog.CreateCategoryRequest) (*catalog.CreateCategoryResponse, error)
func (*CatalogClientServer) CreateProduct ¶
func (s *CatalogClientServer) CreateProduct(ctx context.Context, in *catalog.CreateProductRequest) (*catalog.CreateProductResponse, error)
func (*CatalogClientServer) DeleteCategory ¶
func (s *CatalogClientServer) DeleteCategory(ctx context.Context, in *catalog.DeleteCategoryRequest) (*catalog.DeleteCategoryResponse, error)
func (*CatalogClientServer) DeleteProduct ¶
func (s *CatalogClientServer) DeleteProduct(ctx context.Context, in *catalog.DeleteProductRequest) (*catalog.DeleteProductResponse, error)
func (*CatalogClientServer) GetAllCategories ¶
func (s *CatalogClientServer) GetAllCategories(ctx context.Context, in *catalog.GetAllCategoriesRequest) (*catalog.GetAllCategoriesResponse, error)
categories
func (*CatalogClientServer) GetAllProducts ¶
func (s *CatalogClientServer) GetAllProducts(ctx context.Context, in *catalog.GetAllProductsRequest) (*catalog.GetAllProductsResponse, error)
func (*CatalogClientServer) GetCategoryById ¶
func (s *CatalogClientServer) GetCategoryById(ctx context.Context, in *catalog.GetCategoryByIdRequest) (*catalog.GetCategoryByIdResponse, error)
func (*CatalogClientServer) GetCategoryBySlug ¶
func (s *CatalogClientServer) GetCategoryBySlug(ctx context.Context, in *catalog.GetCategoryBySlugRequest) (*catalog.GetCategoryBySlugResponse, error)
func (*CatalogClientServer) GetProductById ¶
func (s *CatalogClientServer) GetProductById(ctx context.Context, in *catalog.GetProductByIdRequest) (*catalog.GetProductByIdResponse, error)
func (*CatalogClientServer) GetProductBySku ¶
func (s *CatalogClientServer) GetProductBySku(ctx context.Context, in *catalog.GetProductBySkuRequest) (*catalog.GetProductBySkuResponse, error)
products
func (*CatalogClientServer) GetProductBySlug ¶
func (s *CatalogClientServer) GetProductBySlug(ctx context.Context, in *catalog.GetProductBySlugRequest) (*catalog.GetProductBySlugResponse, error)
func (*CatalogClientServer) GetProductsByCategoryId ¶
func (s *CatalogClientServer) GetProductsByCategoryId(ctx context.Context, in *catalog.GetProductsByCategoryIdRequest) (*catalog.GetProductsByCategoryIdResponse, error)
func (*CatalogClientServer) GetProductsByCategorySlug ¶
func (s *CatalogClientServer) GetProductsByCategorySlug(ctx context.Context, in *catalog.GetProductsByCategorySlugRequest) (*catalog.GetProductsByCategorySlugResponse, error)
func (*CatalogClientServer) UpdateCategory ¶
func (s *CatalogClientServer) UpdateCategory(ctx context.Context, in *catalog.UpdateCategoryRequest) (*catalog.UpdateCategoryResponse, error)
func (*CatalogClientServer) UpdateProduct ¶
func (s *CatalogClientServer) UpdateProduct(ctx context.Context, in *catalog.UpdateProductRequest) (*catalog.UpdateProductResponse, error)
func (*CatalogClientServer) UploadAsset ¶
func (s *CatalogClientServer) UploadAsset(stream catalog.CatalogClient_UploadAssetServer) error
Click to show internal directories.
Click to hide internal directories.