Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Types = []Type{ ProjectCreated, }
Functions ¶
This section is empty.
Types ¶
type AggregateType ¶
type AggregateType string
const (
Project AggregateType = "project"
)
func (AggregateType) String ¶
func (t AggregateType) String() string
type Event ¶
type Event interface { Type() Type AggregateType() AggregateType AggregateId() uuid.UUID }
type ProjectCreatedEvent ¶
func (ProjectCreatedEvent) AggregateId ¶
func (e ProjectCreatedEvent) AggregateId() uuid.UUID
func (ProjectCreatedEvent) AggregateType ¶
func (ProjectCreatedEvent) AggregateType() AggregateType
func (ProjectCreatedEvent) Type ¶
func (ProjectCreatedEvent) Type() Type
Click to show internal directories.
Click to hide internal directories.