Documentation ¶
Index ¶
- Constants
- func NewClient(timeout time.Duration, largeTimeout time.Duration, clients common.ClientCache) adminservice.AdminServiceClient
- func NewMetricClient(client adminservice.AdminServiceClient, metricsClient metrics.Client) adminservice.AdminServiceClient
- func NewRetryableClient(client adminservice.AdminServiceClient, policy backoff.RetryPolicy, ...) adminservice.AdminServiceClient
Constants ¶
View Source
const ( // DefaultTimeout is the default timeout used to make calls DefaultTimeout = 10 * time.Second // DefaultLargeTimeout is the default timeout used to make calls DefaultLargeTimeout = time.Minute )
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient( timeout time.Duration, largeTimeout time.Duration, clients common.ClientCache, ) adminservice.AdminServiceClient
NewClient creates a new admin service TChannel client
func NewMetricClient ¶
func NewMetricClient(client adminservice.AdminServiceClient, metricsClient metrics.Client) adminservice.AdminServiceClient
NewMetricClient creates a new instance of adminservice.AdminServiceClient that emits metrics
func NewRetryableClient ¶
func NewRetryableClient(client adminservice.AdminServiceClient, policy backoff.RetryPolicy, isRetryable backoff.IsRetryable) adminservice.AdminServiceClient
NewRetryableClient creates a new instance of adminservice.AdminServiceClient with retry policy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.