[#12] Ensuring that pool implements interface

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2021-06-15 10:46:44 +03:00
parent e71da21f3a
commit 8d8a5f8a86

View file

@ -71,6 +71,8 @@ type clientPack struct {
healthy bool
}
var _ Pool = (*pool)(nil)
type pool struct {
lock sync.RWMutex
sampler *Sampler