Documentation ¶
Index ¶
- type AddProduct
- type AddProductHandler
- type CreateStore
- type CreateStoreHandler
- type DecreaseProductPrice
- type DecreaseProductPriceHandler
- type DisableParticipation
- type DisableParticipationHandler
- type EnableParticipation
- type EnableParticipationHandler
- type IncreaseProductPrice
- type IncreaseProductPriceHandler
- type RebrandProduct
- type RebrandProductHandler
- type RebrandStore
- type RebrandStoreHandler
- type RemoveProduct
- type RemoveProductHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddProduct ¶
type AddProductHandler ¶
type AddProductHandler struct {
// contains filtered or unexported fields
}
func NewAddProductHandler ¶
func NewAddProductHandler(products domain.ProductRepository) AddProductHandler
func (AddProductHandler) AddProduct ¶
func (h AddProductHandler) AddProduct(ctx context.Context, cmd AddProduct) error
type CreateStore ¶
type CreateStoreHandler ¶
type CreateStoreHandler struct {
// contains filtered or unexported fields
}
func NewCreateStoreHandler ¶
func NewCreateStoreHandler(stores domain.StoreRepository) CreateStoreHandler
func (CreateStoreHandler) CreateStore ¶
func (h CreateStoreHandler) CreateStore(ctx context.Context, cmd CreateStore) error
type DecreaseProductPrice ¶
type DecreaseProductPriceHandler ¶
type DecreaseProductPriceHandler struct {
// contains filtered or unexported fields
}
func NewDecreaseProductPriceHandler ¶
func NewDecreaseProductPriceHandler(products domain.ProductRepository) DecreaseProductPriceHandler
func (DecreaseProductPriceHandler) DecreaseProductPrice ¶
func (h DecreaseProductPriceHandler) DecreaseProductPrice(ctx context.Context, cmd DecreaseProductPrice) error
type DisableParticipation ¶
type DisableParticipation struct {
ID string
}
type DisableParticipationHandler ¶
type DisableParticipationHandler struct {
// contains filtered or unexported fields
}
func NewDisableParticipationHandler ¶
func NewDisableParticipationHandler(stores domain.StoreRepository) DisableParticipationHandler
func (DisableParticipationHandler) DisableParticipation ¶
func (h DisableParticipationHandler) DisableParticipation(ctx context.Context, cmd DisableParticipation) error
type EnableParticipation ¶
type EnableParticipation struct {
ID string
}
type EnableParticipationHandler ¶
type EnableParticipationHandler struct {
// contains filtered or unexported fields
}
func NewEnableParticipationHandler ¶
func NewEnableParticipationHandler(stores domain.StoreRepository) EnableParticipationHandler
func (EnableParticipationHandler) EnableParticipation ¶
func (h EnableParticipationHandler) EnableParticipation(ctx context.Context, cmd EnableParticipation) error
type IncreaseProductPrice ¶
type IncreaseProductPriceHandler ¶
type IncreaseProductPriceHandler struct {
// contains filtered or unexported fields
}
func NewIncreaseProductPriceHandler ¶
func NewIncreaseProductPriceHandler(products domain.ProductRepository) IncreaseProductPriceHandler
func (IncreaseProductPriceHandler) IncreaseProductPrice ¶
func (h IncreaseProductPriceHandler) IncreaseProductPrice(ctx context.Context, cmd IncreaseProductPrice) error
type RebrandProduct ¶
type RebrandProductHandler ¶
type RebrandProductHandler struct {
// contains filtered or unexported fields
}
func NewRebrandProductHandler ¶
func NewRebrandProductHandler(products domain.ProductRepository) RebrandProductHandler
func (RebrandProductHandler) RebrandProduct ¶
func (h RebrandProductHandler) RebrandProduct(ctx context.Context, cmd RebrandProduct) error
type RebrandStore ¶
type RebrandStoreHandler ¶
type RebrandStoreHandler struct {
// contains filtered or unexported fields
}
func NewRebrandStoreHandler ¶
func NewRebrandStoreHandler(stores domain.StoreRepository) RebrandStoreHandler
func (RebrandStoreHandler) RebrandStore ¶
func (h RebrandStoreHandler) RebrandStore(ctx context.Context, cmd RebrandStore) error
type RemoveProduct ¶
type RemoveProduct struct {
ID string
}
type RemoveProductHandler ¶
type RemoveProductHandler struct {
// contains filtered or unexported fields
}
func NewRemoveProductHandler ¶
func NewRemoveProductHandler(products domain.ProductRepository) RemoveProductHandler
func (RemoveProductHandler) RemoveProduct ¶
func (h RemoveProductHandler) RemoveProduct(ctx context.Context, cmd RemoveProduct) error
Click to show internal directories.
Click to hide internal directories.