[#12] Ensuring that pool implements interface
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
e71da21f3a
commit
8d8a5f8a86
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ type clientPack struct {
|
||||||
healthy bool
|
healthy bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var _ Pool = (*pool)(nil)
|
||||||
|
|
||||||
type pool struct {
|
type pool struct {
|
||||||
lock sync.RWMutex
|
lock sync.RWMutex
|
||||||
sampler *Sampler
|
sampler *Sampler
|
||||||
|
|
Loading…
Reference in a new issue