Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultTimeout is the default timeout used to make calls DefaultTimeout = time.Minute // DefaultLongPollTimeout is the long poll default timeout used to make calls DefaultLongPollTimeout = time.Minute * 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { matchingserviceclient.Interface }
Client is the interface exposed by matching service client
func NewClient ¶
func NewClient( timeout time.Duration, longPollTimeout time.Duration, clients common.ClientCache, ) Client
NewClient creates a new history service TChannel client
func NewMetricClient ¶
NewMetricClient creates a new instance of Client that emits metrics
func NewRetryableClient ¶ added in v0.3.14
func NewRetryableClient(client Client, policy backoff.RetryPolicy, isRetryable backoff.IsRetryable) Client
NewRetryableClient creates a new instance of Client with retry policy
Click to show internal directories.
Click to hide internal directories.