command_handler

package
v0.0.0-...-ae82ce1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 16 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 CommandHandlers

type CommandHandlers struct {
	LinkPhoneNumberCommand   LinkPhoneNumberCommandHandler
	LinkLocationCommand      LinkLocationCommandHandler
	UpsertCustomFieldCommand UpsertCustomFieldCommandHandler
	AddParentCommand         AddParentCommandHandler
	RemoveParentCommand      RemoveParentCommandHandler
	RefreshArr               RefreshArrCommandHandler
	UpdateOnboardingStatus   UpdateOnboardingStatusCommandHandler
	UpdateOrganizationOwner  UpdateOrganizationOwnerCommandHandler
}

CommandHandlers acts as a container for all command handlers.

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 RemoveParentCommandHandler

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

type UpdateOnboardingStatusCommandHandler

type UpdateOnboardingStatusCommandHandler interface {
	Handle(ctx context.Context, cmd *command.UpdateOnboardingStatusCommand) 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
}

Jump to

Keyboard shortcuts

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