Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSagaContracts ¶
func RegisterSagaContracts(scheme scheme.KnownTypesRegistry)
RegisterSagaContracts registers all system saga contacts in specified scheme
Types ¶
type CompensateSagaCommand ¶
type CompensateSagaCommand struct {
message.ObjectMeta
SagaUID string `json:"saga_uid"`
}
type RecoverSagaCommand ¶
type RecoverSagaCommand struct {
message.ObjectMeta
SagaUID string `json:"saga_uid"`
}
type SagaChildCompletedEvent ¶
type SagaChildCompletedEvent struct {
message.ObjectMeta
SagaUID string `json:"saga_uid"`
}
type SagaCompletedEvent ¶
type SagaCompletedEvent struct {
message.ObjectMeta
SagaUID string `json:"saga_uid"`
}
type StartSagaCommand ¶
type StartSagaCommand struct {
message.ObjectMeta
SagaUID string `json:"saga_uid"`
ParentUID string `json:"parent_uid"`
Saga message.Object `json:"saga"`
}
StartSagaCommand once received will create SagaInstance, save it to Store and Start()
Click to show internal directories.
Click to hide internal directories.