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 Token.
NewCommandFromPayload builds command by contract from json payload.
OnCreate creates command handler.
OnRemove creates command handler.

# Constants

CreateAuthToken command bus contract.
RemoveAuthToken command bus contract.

# Variables

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

# Structs

Create command, creates access token for user.
Remove command.
Token aggregate root.
WasCreated event.
WasRemoved event.

# Interfaces

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