Documentation
¶
Index ¶
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(stores domain.StoreRepository, products domain.ProductRepository, domainPublisher ddd.EventPublisher) 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, domainPublisher ddd.EventPublisher) CreateStoreHandler
func (CreateStoreHandler) CreateStore ¶
func (h CreateStoreHandler) CreateStore(ctx context.Context, cmd CreateStore) 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, domainPublisher ddd.EventPublisher) 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, domainPublisher ddd.EventPublisher) EnableParticipationHandler
func (EnableParticipationHandler) EnableParticipation ¶
func (h EnableParticipationHandler) EnableParticipation(ctx context.Context, cmd EnableParticipation) 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, domainPublisher ddd.EventPublisher) RemoveProductHandler
func (RemoveProductHandler) RemoveProduct ¶
func (h RemoveProductHandler) RemoveProduct(ctx context.Context, cmd RemoveProduct) error
Click to show internal directories.
Click to hide internal directories.