2023-08-16 15:47:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2020-10-09 14:58:30 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
|
|
|
"handler.go",
|
2021-10-15 10:40:23 +00:00
|
|
|
"headers.go",
|
2023-08-16 15:47:09 +00:00
|
|
|
"log.go",
|
|
|
|
"site_data.go",
|
2020-10-09 14:58:30 +00:00
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/validator/web",
|
2021-05-04 15:20:58 +00:00
|
|
|
visibility = [
|
2021-09-16 19:55:51 +00:00
|
|
|
"//api/gateway:__pkg__",
|
2021-05-04 15:20:58 +00:00
|
|
|
"//validator:__subpackages__",
|
|
|
|
],
|
2023-08-16 15:47:09 +00:00
|
|
|
deps = ["@com_github_sirupsen_logrus//:go_default_library"],
|
2020-10-09 14:58:30 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["handler_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2021-09-23 18:53:46 +00:00
|
|
|
deps = ["//testing/assert:go_default_library"],
|
2020-10-09 14:58:30 +00:00
|
|
|
)
|