Documentation ¶
Index ¶
- Constants
- func NewClient(numberOfShards int32, timeout time.Duration, clients common.ClientCache, ...) historyservice.HistoryServiceClient
- func NewMetricClient(client historyservice.HistoryServiceClient, metricsClient metrics.Client, ...) historyservice.HistoryServiceClient
- func NewRetryableClient(client historyservice.HistoryServiceClient, policy backoff.RetryPolicy, ...) historyservice.HistoryServiceClient
Constants ¶
View Source
const ( // DefaultTimeout is the default timeout used to make calls DefaultTimeout = time.Second * 30 )
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient( numberOfShards int32, timeout time.Duration, clients common.ClientCache, logger log.Logger, ) historyservice.HistoryServiceClient
NewClient creates a new history service gRPC client
func NewMetricClient ¶
func NewMetricClient( client historyservice.HistoryServiceClient, metricsClient metrics.Client, logger log.Logger, throttledLogger log.Logger, ) historyservice.HistoryServiceClient
NewMetricClient creates a new instance of historyservice.HistoryServiceClient that emits metrics
func NewRetryableClient ¶ added in v0.3.14
func NewRetryableClient(client historyservice.HistoryServiceClient, policy backoff.RetryPolicy, isRetryable backoff.IsRetryable) historyservice.HistoryServiceClient
NewRetryableClient creates a new instance of historyservice.HistoryServiceClient with retry policy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.