blob: ac6569328ef37515755ed8a8829d958c46096254 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "tinylb",
srcs = [
"connection_pool.go",
"tinylb.go",
],
importpath = "source.monogon.dev/go/net/tinylb",
visibility = ["//visibility:public"],
deps = [
"//go/types/mapsets",
"//osbase/event",
"//osbase/supervisor",
],
)
go_test(
name = "tinylb_test",
srcs = ["tinylb_test.go"],
embed = [":tinylb"],
deps = [
"//osbase/event/memory",
"//osbase/supervisor",
],
)