Documentation ¶
Index ¶
- Variables
- type Category
- type CategoryReadModelProjector
- type GetAllProductsHandler
- type GetAllProductsHandlerImpl
- type GetCategoryByIDHandler
- type GetCategoryByIDHandlerImpl
- type GetProductByIDHandler
- type GetProductByIDHandlerImpl
- type Product
- type ProductReadModelProjector
- type Products
- type ProductsReadModelQueryProjector
- type Variant
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrProductResourceNotFound = errors.NewResourceNotFoundError("err.product.queryById.notFound", "resource not found") ErrCategoryResourceNotFound = errors.NewResourceNotFoundError("err.category.queryById.notFound", "resource not found") )
Functions ¶
This section is empty.
Types ¶
type CategoryReadModelProjector ¶ added in v1.5.0
type GetAllProductsHandler ¶ added in v1.6.0
type GetAllProductsHandlerImpl ¶ added in v1.6.0
type GetAllProductsHandlerImpl struct {
// contains filtered or unexported fields
}
func NewGetAllProductsHandlerImpl ¶ added in v1.6.0
func NewGetAllProductsHandlerImpl(projector ProductsReadModelQueryProjector) *GetAllProductsHandlerImpl
type GetCategoryByIDHandler ¶ added in v1.5.0
type GetCategoryByIDHandlerImpl ¶ added in v1.5.0
type GetCategoryByIDHandlerImpl struct {
// contains filtered or unexported fields
}
func NewGetCategoryByIDHandlerImpl ¶ added in v1.5.0
func NewGetCategoryByIDHandlerImpl(projector CategoryReadModelProjector) *GetCategoryByIDHandlerImpl
type GetProductByIDHandler ¶
type GetProductByIDHandlerImpl ¶
type GetProductByIDHandlerImpl struct {
// contains filtered or unexported fields
}
func NewGetProductByIDHandlerImpl ¶
func NewGetProductByIDHandlerImpl(projector ProductReadModelProjector) *GetProductByIDHandlerImpl
type ProductsReadModelQueryProjector ¶ added in v1.6.0
Click to show internal directories.
Click to hide internal directories.