command_handler

package
v0.0.0-...-af7f365 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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
}

type AddSocialCommandHandler

type AddSocialCommandHandler interface {
	Handle(ctx context.Context, command *command.AddSocialCommand) error
}

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.

type HideOrganizationCommandHandler

type HideOrganizationCommandHandler interface {
	Handle(ctx context.Context, command *cmd.HideOrganizationCommand) error
}

type LinkDomainCommandHandler

type LinkDomainCommandHandler interface {
	Handle(ctx context.Context, command *command.LinkDomainCommand) error
}

type LinkEmailCommandHandler

type LinkEmailCommandHandler interface {
	Handle(ctx context.Context, command *command.LinkEmailCommand) error
}

type LinkLocationCommandHandler

type LinkLocationCommandHandler interface {
	Handle(ctx context.Context, command *command.LinkLocationCommand) error
}

type LinkPhoneNumberCommandHandler

type LinkPhoneNumberCommandHandler interface {
	Handle(ctx context.Context, command *command.LinkPhoneNumberCommand) error
}

type RefreshArrCommandHandler

type RefreshArrCommandHandler interface {
	Handle(ctx context.Context, command *command.RefreshArrCommand) error
}

type RefreshLastTouchpointCommandHandler

type RefreshLastTouchpointCommandHandler interface {
	Handle(ctx context.Context, command *command.RefreshLastTouchpointCommand) error
}

type RemoveParentCommandHandler

type RemoveParentCommandHandler interface {
	Handle(ctx context.Context, command *command.RemoveParentCommand) error
}

type ShowOrganizationCommandHandler

type ShowOrganizationCommandHandler interface {
	Handle(ctx context.Context, command *cmd.ShowOrganizationCommand) error
}

type UpdateOnboardingStatusCommandHandler

type UpdateOnboardingStatusCommandHandler interface {
	Handle(ctx context.Context, cmd *command.UpdateOnboardingStatusCommand) error
}

type UpdateOrganizationCommandHandler

type UpdateOrganizationCommandHandler interface {
	Handle(ctx context.Context, command *command.UpdateOrganizationCommand) error
}

type UpdateOrganizationOwnerCommandHandler

type UpdateOrganizationOwnerCommandHandler interface {
	Handle(ctx context.Context, command *command.UpdateOrganizationOwnerCommand) error
}

type UpsertCustomFieldCommandHandler

type UpsertCustomFieldCommandHandler interface {
	Handle(ctx context.Context, command *command.UpsertCustomFieldCommand) error
}

type UpsertOrganizationCommandHandler

type UpsertOrganizationCommandHandler interface {
	Handle(ctx context.Context, cmd *command.UpsertOrganizationCommand) error
}

type WebScrapeOrganizationCommandHandler

type WebScrapeOrganizationCommandHandler interface {
	Handle(ctx context.Context, cmd *command.WebScrapeOrganizationCommand) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL