package
0.0.0-20220822164348-1fb92f6f5a50
Repository: https://github.com/vardius/go-api-boilerplate.git
Documentation: pkg.go.dev

# Functions

FromHistory loads current aggregate root state by applying all events in order.
New creates an Client.
NewCommandFromPayload builds command by contract from json payload.
OnCreate creates command handler.
OnRemove creates command handler.

# Constants

CreateClientCredentials command bus contract.
RemoveClientCredentials command bus contract.

# Variables

No description provided by the author
No description provided by the author
StreamName for client domain.
No description provided by the author
No description provided by the author

# Structs

Client aggregate root.
Create command.
Remove command.
WasCreated event.
WasRemoved event.

# Interfaces

Repository allows to get/save events from/to event store.