forked from TrueCloudLab/frostfs-node
[#645] ir/rpc: Revert using client cache as interface
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
3a497a3c53
commit
81e0396c13
1 changed files with 5 additions and 2 deletions
|
@ -21,7 +21,10 @@ import (
|
|||
type (
|
||||
ClientCache struct {
|
||||
log *zap.Logger
|
||||
cache *cache.ClientCache
|
||||
cache interface {
|
||||
Get(clientcore.NodeInfo) (client.Client, error)
|
||||
CloseAll()
|
||||
}
|
||||
key *ecdsa.PrivateKey
|
||||
|
||||
sgTimeout, headTimeout, rangeTimeout time.Duration
|
||||
|
|
Loading…
Reference in a new issue