2023-10-16 22:16:20 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2023-12-08 20:37:20 +00:00
|
|
|
"error.go",
|
2023-10-16 22:16:20 +00:00
|
|
|
"middleware.go",
|
|
|
|
"util.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/api/server",
|
2023-10-16 22:16:20 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2023-12-08 04:24:18 +00:00
|
|
|
deps = [
|
|
|
|
"@com_github_gorilla_mux//:go_default_library",
|
|
|
|
"@com_github_rs_cors//:go_default_library",
|
|
|
|
],
|
2023-10-16 22:16:20 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2023-10-23 15:49:28 +00:00
|
|
|
srcs = [
|
2023-12-08 20:37:20 +00:00
|
|
|
"error_test.go",
|
2023-10-23 15:49:28 +00:00
|
|
|
"middleware_test.go",
|
|
|
|
"util_test.go",
|
|
|
|
],
|
2023-10-16 22:16:20 +00:00
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
],
|
|
|
|
)
|