2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-08-14 16:16:21 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["external_ip.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/iputils",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
2019-01-11 01:08:22 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2019-01-11 01:08:22 +00:00
|
|
|
srcs = ["external_ip_test.go"],
|
2019-03-12 03:01:46 +00:00
|
|
|
tags = ["requires-network"],
|
2020-07-19 21:08:29 +00:00
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2020-07-19 21:08:29 +00:00
|
|
|
"//shared/testutil/assert:go_default_library",
|
|
|
|
"//shared/testutil/require:go_default_library",
|
|
|
|
],
|
2019-01-11 01:08:22 +00:00
|
|
|
)
|