Documentation ¶
Index ¶
- Constants
- func NewClient(timeout time.Duration, longPollTimeout time.Duration, ...) workflowservice.WorkflowServiceClient
- func NewMetricClient(client workflowservice.WorkflowServiceClient, metricsClient metrics.Client, ...) workflowservice.WorkflowServiceClient
- func NewRetryableClient(client workflowservice.WorkflowServiceClient, policy backoff.RetryPolicy, ...) workflowservice.WorkflowServiceClient
Constants ¶
View Source
const ( // DefaultTimeout is the default timeout used to make calls DefaultTimeout = 10 * time.Second // DefaultLongPollTimeout is the long poll default timeout used to make calls DefaultLongPollTimeout = time.Minute * 3 )
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient( timeout time.Duration, longPollTimeout time.Duration, clients common.ClientCache, ) workflowservice.WorkflowServiceClient
NewClient creates a new frontend service gRPC client
func NewMetricClient ¶ added in v0.5.0
func NewMetricClient( client workflowservice.WorkflowServiceClient, metricsClient metrics.Client, throttledLogger log.Logger, ) workflowservice.WorkflowServiceClient
NewMetricClient creates a new instance of workflowservice.WorkflowServiceClient that emits metrics
func NewRetryableClient ¶ added in v0.5.0
func NewRetryableClient(client workflowservice.WorkflowServiceClient, policy backoff.RetryPolicy, isRetryable backoff.IsRetryable) workflowservice.WorkflowServiceClient
NewRetryableClient creates a new instance of workflowservice.WorkflowServiceClient with retry policy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.