Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTagCommandHandler ¶
type AddTagCommandHandler interface {
Handle(ctx context.Context, command *cmd.AddTagCommand) error
}
func NewAddTagCommandHandler ¶
func NewAddTagCommandHandler(log logger.Logger, es eventstore.AggregateStore) AddTagCommandHandler
type CommandHandlers ¶
type CommandHandlers struct { UpsertLogEntry UpsertLogEntryCommandHandler AddTag AddTagCommandHandler RemoveTag RemoveTagCommandHandler }
func NewCommandHandlers ¶
func NewCommandHandlers(log logger.Logger, cfg *config.Config, es eventstore.AggregateStore) *CommandHandlers
type RemoveTagCommandHandler ¶
type RemoveTagCommandHandler interface {
Handle(ctx context.Context, command *cmd.RemoveTagCommand) error
}
func NewRemoveTagCommandHandler ¶
func NewRemoveTagCommandHandler(log logger.Logger, es eventstore.AggregateStore) RemoveTagCommandHandler
type UpsertLogEntryCommandHandler ¶
type UpsertLogEntryCommandHandler interface {
Handle(ctx context.Context, command *cmd.UpsertLogEntryCommand) error
}
func NewUpsertLogEntryCommandHandler ¶
func NewUpsertLogEntryCommandHandler(log logger.Logger, es eventstore.AggregateStore, cfg config.Utils) UpsertLogEntryCommandHandler
Click to show internal directories.
Click to hide internal directories.