|
|
|
@ -59,7 +59,7 @@ type TransBase struct { |
|
|
|
Dtm string `json:"-"` |
|
|
|
CustomData string `json:"custom_data,omitempty"` // nosql data persistence
|
|
|
|
TransOptions |
|
|
|
Ctx context.Context `json:"-" gorm:"-"` |
|
|
|
Context context.Context `json:"-" gorm:"-"` |
|
|
|
|
|
|
|
Steps []map[string]string `json:"steps,omitempty"` // use in MSG/SAGA
|
|
|
|
Payloads []string `json:"payloads,omitempty"` // used in MSG/SAGA
|
|
|
|
@ -79,7 +79,7 @@ func NewTransBase(gid string, transType string, dtm string, branchID string) *Tr |
|
|
|
BranchIDGen: BranchIDGen{BranchID: branchID}, |
|
|
|
Dtm: dtm, |
|
|
|
TransOptions: TransOptions{PassthroughHeaders: PassthroughHeaders}, |
|
|
|
Ctx: context.Background(), |
|
|
|
Context: context.Background(), |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|