Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Report)
An Option adds information to a Report.
type Report ¶
type Report struct { // Start is the Time the SAGA started. Start time.Time // End is the Time the SAGA finished. End time.Time // Runtime is the runtime of the SAGA. Runtime time.Duration // Actions are the Actions that have been run. Actions []action.Report // Succeeded are the succeeded Actions. Succeeded []action.Report // Failed are the failed Actions. Failed []action.Report // Compensated are the compensated Actions. Compensated []action.Report // Error is the error that made the SAGA fail. Error error }
A Report gives information about the execution of a SAGA.
Click to show internal directories.
Click to hide internal directories.