handler

package
v0.2.0-rc10 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserInformationHandler

func NewUserInformationHandler(userRepo repositories.ReadOnlyUserRepository) *userInformationHandler

NewUserInformationHandler creates a new CommandHandler which handles authorization.

func WarmUp

func WarmUp(ctx context.Context, esClient apiEs.EventStoreClient, aggregateType es.AggregateType, eventHandler es.EventHandler) error

NewRepoWarmingMiddleware creates an EventHandler which queries the EventStore to warm up the repository initially.

Types

This section is empty.

Jump to

Keyboard shortcuts

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