prysm-pulse/cache/nonblocking/BUILD.bazel
Raul Jordan 402799a584
Threadsafe LRU With Non-Blocking Reads for Concurrent Readers (#12476)
* add nonblocking simple lru

* method

* add in missing tests, fix panic
2023-07-12 17:57:52 +08:00

18 lines
384 B
Python

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"list.go",
"lru.go",
],
importpath = "github.com/prysmaticlabs/prysm/v4/cache/nonblocking",
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
srcs = ["lru_test.go"],
embed = [":go_default_library"],
)