aggregate

package
v0.0.0-...-af7f365 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InteractionSessionAggregateType eventstore.AggregateType = "interaction_session"
)

Variables

This section is empty.

Functions

func GetInteractionSessionObjectID

func GetInteractionSessionObjectID(aggregateID string, tenant string) string

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 (*InteractionSessionAggregate) When

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL