Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { State map[string]interface{} Type string CorrelationId string IsCompleted bool // contains filtered or unexported fields }
func CreateContext ¶
type Store ¶
type Store interface { SagaExists(correlationId string, sagaType string) (bool, error) RequestSaga(correlationId string, sagaType string) (*Context, error) CreateSaga(correlationId string, sagaType string) error UpdateState(session Session, correlationId string, sagaType string, state map[string]interface{}) error CompleteSaga(session Session, correlationId string, sagaType string) error DeleteSaga(correlationId string, sagaType string) error }
Click to show internal directories.
Click to hide internal directories.