|
|
|
@ -44,7 +44,7 @@ func (g *BranchIDGen) CurrentSubBranchID() string { |
|
|
|
type TransOptions struct { |
|
|
|
WaitResult bool `json:"wait_result,omitempty" gorm:"-"` |
|
|
|
TimeoutToFail int64 `json:"timeout_to_fail,omitempty" gorm:"-"` // for trans type: xa, tcc, unit: second
|
|
|
|
RequestTimeout int64 `json:"requestTimeout" gorm:"-"` // for global trans resets request timeout, unit: second
|
|
|
|
RequestTimeout int64 `json:"request_timeout,omitempty" gorm:"-"` // for global trans resets request timeout, unit: second
|
|
|
|
RetryInterval int64 `json:"retry_interval,omitempty" gorm:"-"` // for trans type: msg saga xa tcc, unit: second
|
|
|
|
PassthroughHeaders []string `json:"passthrough_headers,omitempty" gorm:"-"` // for inherit the specified gin context headers
|
|
|
|
BranchHeaders map[string]string `json:"branch_headers,omitempty" gorm:"-"` // custom branch headers, dtm server => service api
|
|
|
|
|