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