Documentation ¶
Index ¶
- func GrpcItemsToDomainItems(items []*orgplanpb.OrganizationPlanMilestoneItem) []model.OrganizationPlanMilestoneItem
- type CreateOrganizationPlanHandler
- type CreateOrganizationPlanMilestoneHandler
- type EventHandlers
- type ReorderOrganizationPlanMilestonesHandler
- type UpdateOrganizationPlanHandler
- type UpdateOrganizationPlanMilestoneCommandHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcItemsToDomainItems ¶
func GrpcItemsToDomainItems(items []*orgplanpb.OrganizationPlanMilestoneItem) []model.OrganizationPlanMilestoneItem
Types ¶
type CreateOrganizationPlanHandler ¶
type CreateOrganizationPlanHandler interface {
Handle(ctx context.Context, baseRequest eventstore.BaseRequest, request *orgplanpb.CreateOrganizationPlanGrpcRequest) error
}
func NewCreateOrganizationPlanHandler ¶
func NewCreateOrganizationPlanHandler(log logger.Logger, es eventstore.AggregateStore) CreateOrganizationPlanHandler
type CreateOrganizationPlanMilestoneHandler ¶
type CreateOrganizationPlanMilestoneHandler interface {
Handle(ctx context.Context, baseRequest eventstore.BaseRequest, request *orgplanpb.CreateOrganizationPlanMilestoneGrpcRequest) error
}
func NewCreateOrganizationPlanMilestoneHandler ¶
func NewCreateOrganizationPlanMilestoneHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) CreateOrganizationPlanMilestoneHandler
type EventHandlers ¶
type EventHandlers struct { CreateOrganizationPlan CreateOrganizationPlanHandler UpdateOrganizationPlan UpdateOrganizationPlanHandler CreateOrganizationPlanMilestone CreateOrganizationPlanMilestoneHandler UpdateOrganizationPlanMilestone UpdateOrganizationPlanMilestoneCommandHandler ReorderOrganizationPlanMilestones ReorderOrganizationPlanMilestonesHandler }
EventHandlers acts as a container for all command handlers.
func NewEventHandlers ¶
func NewEventHandlers(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) *EventHandlers
type ReorderOrganizationPlanMilestonesHandler ¶
type ReorderOrganizationPlanMilestonesHandler interface {
Handle(ctx context.Context, baseRequest eventstore.BaseRequest, request *orgplanpb.ReorderOrganizationPlanMilestonesGrpcRequest) error
}
func NewReorderOrganizationPlanMilestonesHandler ¶
func NewReorderOrganizationPlanMilestonesHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) ReorderOrganizationPlanMilestonesHandler
type UpdateOrganizationPlanHandler ¶
type UpdateOrganizationPlanHandler interface {
Handle(ctx context.Context, baseRequest eventstore.BaseRequest, request *orgplanpb.UpdateOrganizationPlanGrpcRequest) error
}
func NewUpdateOrganizationPlanHandler ¶
func NewUpdateOrganizationPlanHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) UpdateOrganizationPlanHandler
type UpdateOrganizationPlanMilestoneCommandHandler ¶
type UpdateOrganizationPlanMilestoneCommandHandler interface {
Handle(ctx context.Context, baseRequest eventstore.BaseRequest, request *orgplanpb.UpdateOrganizationPlanMilestoneGrpcRequest) error
}
func NewUpdateOrganizationPlanMilestoneCommandHandler ¶
func NewUpdateOrganizationPlanMilestoneCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) UpdateOrganizationPlanMilestoneCommandHandler
Click to show internal directories.
Click to hide internal directories.