Documentation ¶
Index ¶
Constants ¶
View Source
const (
LogEntryAggregateType eventstore.AggregateType = "log_entry"
)
Variables ¶
This section is empty.
Functions ¶
func GetLogEntryObjectID ¶
Types ¶
type LogEntryAggregate ¶
type LogEntryAggregate struct { *aggregate.CommonTenantIdAggregate LogEntry *model.LogEntry }
func LoadLogEntryAggregate ¶
func LoadLogEntryAggregate(ctx context.Context, eventStore eventstore.AggregateStore, tenant, objectID string) (*LogEntryAggregate, error)
func NewLogEntryAggregateWithTenantAndID ¶
func NewLogEntryAggregateWithTenantAndID(tenant, id string) *LogEntryAggregate
func (*LogEntryAggregate) HandleCommand ¶
func (a *LogEntryAggregate) HandleCommand(ctx context.Context, cmd eventstore.Command) error
func (*LogEntryAggregate) When ¶
func (a *LogEntryAggregate) When(evt eventstore.Event) error
Click to show internal directories.
Click to hide internal directories.