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",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/network",
|
|
|
|
visibility = ["//visibility:public"],
|
2022-04-09 09:03:05 +00:00
|
|
|
deps = [
|
|
|
|
"//network/authorization:go_default_library",
|
|
|
|
"@com_github_golang_jwt_jwt_v4//:go_default_library",
|
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
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",
|
2021-09-16 19:12:27 +00:00
|
|
|
],
|
|
|
|
)
|