From 55b403e0eece6a85e43ba397c81052a83bcebf05 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Fri, 30 Dec 2022 12:47:18 +0300 Subject: [PATCH] [#5] morph/client: Use generic LRU cache Signed-off-by: Evgenii Stratonikov --- go.mod | 2 ++ go.sum | Bin 90294 -> 90481 bytes pkg/morph/client/client.go | 4 ++-- pkg/morph/client/constructor.go | 4 ++-- pkg/morph/client/notary.go | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 29390b978..4a489f8f3 100644 --- a/go.mod +++ b/go.mod @@ -39,6 +39,8 @@ require ( gopkg.in/yaml.v3 v3.0.1 ) +require github.com/hashicorp/golang-lru/v2 v2.0.1 + require ( github.com/TrueCloudLab/frostfs-crypto v0.5.0 // indirect github.com/TrueCloudLab/rfc6979 v0.3.0 // indirect diff --git a/go.sum b/go.sum index 13f8bc7ad2e8006b9f0fe460e8f56b675b223158..1d85e41cbf126c1f0b85a5126b57f2a15f0f856c 100644 GIT binary patch delta 136 zcmdmXkoDss)(uxQ zXXlnC7Z_FOXP3G8=T(%3g%n1aRhUdph*6xZxKva-Fx4%^GQS`%*U>C6)GOJv%rPk6 nJ2W`oEu%8c*GNAqwIJWo-7LtxAk`PBN4)uJ%=W7>j1QRsoRu%r delta 18 acmex(h;`dR)(ux