Documentation ¶
Index ¶
- type AddParentCommandHandler
- type AddSocialCommandHandler
- type CommandHandlers
- type HideOrganizationCommandHandler
- type LinkDomainCommandHandler
- type LinkEmailCommandHandler
- type LinkLocationCommandHandler
- type LinkPhoneNumberCommandHandler
- type RefreshArrCommandHandler
- type RefreshLastTouchpointCommandHandler
- type RemoveParentCommandHandler
- type ShowOrganizationCommandHandler
- type UpdateOnboardingStatusCommandHandler
- type UpdateOrganizationCommandHandler
- type UpdateOrganizationOwnerCommandHandler
- type UpsertCustomFieldCommandHandler
- type UpsertOrganizationCommandHandler
- type WebScrapeOrganizationCommandHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddParentCommandHandler ¶
type AddParentCommandHandler interface {
Handle(ctx context.Context, command *command.AddParentCommand) error
}
func NewAddParentCommandHandler ¶
func NewAddParentCommandHandler(log logger.Logger, es eventstore.AggregateStore) AddParentCommandHandler
type AddSocialCommandHandler ¶
type AddSocialCommandHandler interface {
Handle(ctx context.Context, command *command.AddSocialCommand) error
}
func NewAddSocialCommandHandler ¶
func NewAddSocialCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) AddSocialCommandHandler
type CommandHandlers ¶
type CommandHandlers struct { UpsertOrganization UpsertOrganizationCommandHandler UpdateOrganization UpdateOrganizationCommandHandler LinkPhoneNumberCommand LinkPhoneNumberCommandHandler LinkEmailCommand LinkEmailCommandHandler LinkLocationCommand LinkLocationCommandHandler LinkDomainCommand LinkDomainCommandHandler AddSocialCommand AddSocialCommandHandler HideOrganizationCommand HideOrganizationCommandHandler ShowOrganizationCommand ShowOrganizationCommandHandler RefreshLastTouchpointCommand RefreshLastTouchpointCommandHandler UpsertCustomFieldCommand UpsertCustomFieldCommandHandler AddParentCommand AddParentCommandHandler RemoveParentCommand RemoveParentCommandHandler RefreshArr RefreshArrCommandHandler WebScrapeOrganization WebScrapeOrganizationCommandHandler UpdateOnboardingStatus UpdateOnboardingStatusCommandHandler UpdateOrganizationOwner UpdateOrganizationOwnerCommandHandler }
CommandHandlers acts as a container for all command handlers.
func NewCommandHandlers ¶
func NewCommandHandlers(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore, ebs *eventstore.EventBufferService) *CommandHandlers
type HideOrganizationCommandHandler ¶
type HideOrganizationCommandHandler interface {
Handle(ctx context.Context, command *cmd.HideOrganizationCommand) error
}
func NewHideOrganizationCommandHandler ¶
func NewHideOrganizationCommandHandler(log logger.Logger, es eventstore.AggregateStore) HideOrganizationCommandHandler
type LinkDomainCommandHandler ¶
type LinkDomainCommandHandler interface {
Handle(ctx context.Context, command *command.LinkDomainCommand) error
}
func NewLinkDomainCommandHandler ¶
func NewLinkDomainCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) LinkDomainCommandHandler
type LinkEmailCommandHandler ¶
type LinkEmailCommandHandler interface {
Handle(ctx context.Context, command *command.LinkEmailCommand) error
}
func NewLinkEmailCommandHandler ¶
func NewLinkEmailCommandHandler(log logger.Logger, es eventstore.AggregateStore) LinkEmailCommandHandler
type LinkLocationCommandHandler ¶
type LinkLocationCommandHandler interface {
Handle(ctx context.Context, command *command.LinkLocationCommand) error
}
func NewLinkLocationCommandHandler ¶
func NewLinkLocationCommandHandler(log logger.Logger, es eventstore.AggregateStore) LinkLocationCommandHandler
type LinkPhoneNumberCommandHandler ¶
type LinkPhoneNumberCommandHandler interface {
Handle(ctx context.Context, command *command.LinkPhoneNumberCommand) error
}
func NewLinkPhoneNumberCommandHandler ¶
func NewLinkPhoneNumberCommandHandler(log logger.Logger, es eventstore.AggregateStore) LinkPhoneNumberCommandHandler
type RefreshArrCommandHandler ¶
type RefreshArrCommandHandler interface {
Handle(ctx context.Context, command *command.RefreshArrCommand) error
}
func NewRefreshArrCommandHandler ¶
func NewRefreshArrCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) RefreshArrCommandHandler
type RefreshLastTouchpointCommandHandler ¶
type RefreshLastTouchpointCommandHandler interface {
Handle(ctx context.Context, command *command.RefreshLastTouchpointCommand) error
}
func NewRefreshLastTouchpointCommandHandler ¶
func NewRefreshLastTouchpointCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) RefreshLastTouchpointCommandHandler
type RemoveParentCommandHandler ¶
type RemoveParentCommandHandler interface {
Handle(ctx context.Context, command *command.RemoveParentCommand) error
}
func NewRemoveParentCommandHandler ¶
func NewRemoveParentCommandHandler(log logger.Logger, es eventstore.AggregateStore) RemoveParentCommandHandler
type ShowOrganizationCommandHandler ¶
type ShowOrganizationCommandHandler interface {
Handle(ctx context.Context, command *cmd.ShowOrganizationCommand) error
}
func NewShowOrganizationCommandHandler ¶
func NewShowOrganizationCommandHandler(log logger.Logger, es eventstore.AggregateStore) ShowOrganizationCommandHandler
type UpdateOnboardingStatusCommandHandler ¶
type UpdateOnboardingStatusCommandHandler interface {
Handle(ctx context.Context, cmd *command.UpdateOnboardingStatusCommand) error
}
func NewUpdateOnboardingStatusCommandHandler ¶
func NewUpdateOnboardingStatusCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) UpdateOnboardingStatusCommandHandler
type UpdateOrganizationCommandHandler ¶
type UpdateOrganizationCommandHandler interface {
Handle(ctx context.Context, command *command.UpdateOrganizationCommand) error
}
func NewUpdateOrganizationCommandHandler ¶
func NewUpdateOrganizationCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) UpdateOrganizationCommandHandler
type UpdateOrganizationOwnerCommandHandler ¶
type UpdateOrganizationOwnerCommandHandler interface {
Handle(ctx context.Context, command *command.UpdateOrganizationOwnerCommand) error
}
func NewUpdateOrganizationOwnerCommandHandler ¶
func NewUpdateOrganizationOwnerCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils, ebs *eventstore.EventBufferService) UpdateOrganizationOwnerCommandHandler
type UpsertCustomFieldCommandHandler ¶
type UpsertCustomFieldCommandHandler interface {
Handle(ctx context.Context, command *command.UpsertCustomFieldCommand) error
}
func NewUpsertCustomFieldCommandHandler ¶
func NewUpsertCustomFieldCommandHandler(log logger.Logger, es eventstore.AggregateStore) UpsertCustomFieldCommandHandler
type UpsertOrganizationCommandHandler ¶
type UpsertOrganizationCommandHandler interface {
Handle(ctx context.Context, cmd *command.UpsertOrganizationCommand) error
}
func NewUpsertOrganizationCommandHandler ¶
func NewUpsertOrganizationCommandHandler(log logger.Logger, es eventstore.AggregateStore) UpsertOrganizationCommandHandler
type WebScrapeOrganizationCommandHandler ¶
type WebScrapeOrganizationCommandHandler interface {
Handle(ctx context.Context, cmd *command.WebScrapeOrganizationCommand) error
}
func NewWebScrapeOrganizationCommandHandler ¶
func NewWebScrapeOrganizationCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) WebScrapeOrganizationCommandHandler
Source Files ¶
- add_parent.go
- add_social.go
- command_handlers.go
- hide_organization.go
- link_domain.go
- link_email.go
- link_location.go
- link_phone_number.go
- refresh_arr.go
- refresh_last_touchpoint.go
- remove_parent.go
- show_organization.go
- update_onboarding_status.go
- update_organization.go
- update_organization_owner.go
- upsert_custom_field.go
- upsert_organization.go
- webscrape_organization.go
Click to show internal directories.
Click to hide internal directories.