command_handler

package
v0.0.0-...-4518f94 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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandHandlers

type CommandHandlers struct {
	Upsert           UpsertContactCommandHandler
	LinkPhoneNumber  LinkPhoneNumberCommandHandler
	LinkEmail        LinkEmailCommandHandler
	LinkLocation     LinkLocationCommandHandler
	LinkOrganization LinkOrganizationCommandHandler
}

type LinkEmailCommandHandler

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

type LinkLocationCommandHandler

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

type LinkOrganizationCommandHandler

type LinkOrganizationCommandHandler interface {
	Handle(ctx context.Context, command *command.LinkOrganizationCommand) error
}

type LinkPhoneNumberCommandHandler

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

type UpsertContactCommandHandler

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

Jump to

Keyboard shortcuts

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