8c682641bf
After recent changes `client.Client` accepts dial context. There is a need to forward the context passed into `Pool.Dial` to the underlying `Client` instances. Define type aliases of different client constructors: context-based and non-context. Use context-based constructor in `Pool`. Pass `ctx` parameter of `Pool.Dial` method to the client builder. Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com> |
||
---|---|---|
.. | ||
cache.go | ||
cache_test.go | ||
doc.go | ||
mock_test.go | ||
pool.go | ||
pool_test.go | ||
sampler.go | ||
sampler_test.go | ||
statistic.go |