2021-09-16 19:12:27 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2022-04-09 09:03:05 +00:00
|
|
|
"auth.go",
|
2021-09-16 19:12:27 +00:00
|
|
|
"endpoint.go",
|
|
|
|
"external_ip.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/network",
|
2021-09-16 19:12:27 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2022-04-09 09:03:05 +00:00
|
|
|
deps = [
|
|
|
|
"//network/authorization:go_default_library",
|
2023-05-11 16:10:29 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
|
2022-04-09 09:03:05 +00:00
|
|
|
"@com_github_golang_jwt_jwt_v4//:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2023-03-28 16:44:41 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2022-04-09 09:03:05 +00:00
|
|
|
],
|
2021-09-16 19:12:27 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2022-04-09 09:03:05 +00:00
|
|
|
"auth_test.go",
|
2021-09-16 19:12:27 +00:00
|
|
|
"endpoint_test.go",
|
|
|
|
"external_ip_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2022-04-09 09:03:05 +00:00
|
|
|
"//encoding/bytesutil:go_default_library",
|
2021-09-16 19:12:27 +00:00
|
|
|
"//network/authorization:go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2022-04-09 09:03:05 +00:00
|
|
|
"@com_github_golang_jwt_jwt_v4//:go_default_library",
|
2023-05-11 16:10:29 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2021-09-16 19:12:27 +00:00
|
|
|
],
|
|
|
|
)
|