prysm-pulse/shared/iputils/BUILD.bazel
Preston Van Loon 4767b1dfbf Return loopback address when disconnected from network (#1969)
* Return loopback address when disconnected from network

* Update discovery_norace_test.go
2019-03-11 20:01:46 -07:00

16 lines
399 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = ["external_ip.go"],
importpath = "github.com/prysmaticlabs/prysm/shared/iputils",
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
srcs = ["external_ip_test.go"],
embed = [":go_default_library"],
tags = ["requires-network"],
)