Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RetryConfig ¶
type RetryConfig struct {
MaxRetryCount int
RetryIntervalMin time.Duration
RetryIntervalMax time.Duration
}
func (*RetryConfig) SlidingInterval ¶
func (rc *RetryConfig) SlidingInterval(retryNum int) time.Duration
create a function that is a sliding scale between the min and max based on the number of retries SlidingInterval returns a retry interval between min and max based on the current retry attempt.
type SearchWorkflowRequest ¶
type SearchWorkflowRequest struct {
ID int64 `json:"id"`
ExternalID string `json:"externalId"`
ExecutorGroup string `json:"executorGroup"`
WorkflowType string `json:"workflowType"`
BusinessKey string `json:"businessKey"`
State string `json:"state"`
Status string `json:"status"`
Limit int64 `json:"limit"`
Offset int64 `json:"offset"`
}
type SearchWorkflowResponse ¶
type WorkflowState ¶
Click to show internal directories.
Click to hide internal directories.