2022-07-07 20:11:50 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "grpcutil",
|
|
|
|
srcs = [
|
|
|
|
"dial_opts.go",
|
|
|
|
"middleware.go",
|
|
|
|
"reflection.go",
|
2024-02-24 00:34:55 +00:00
|
|
|
"util.go",
|
2022-07-07 20:11:50 +00:00
|
|
|
],
|
|
|
|
importmap = "peridot.resf.org/vendor/github.com/authzed/grpcutil",
|
|
|
|
importpath = "github.com/authzed/grpcutil",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//vendor/github.com/certifi/gocertifi",
|
|
|
|
"//vendor/github.com/grpc-ecosystem/go-grpc-middleware",
|
|
|
|
"//vendor/github.com/grpc-ecosystem/go-grpc-middleware/auth",
|
|
|
|
"//vendor/github.com/grpc-ecosystem/go-grpc-middleware/validator",
|
|
|
|
"//vendor/github.com/stretchr/testify/require",
|
2024-10-16 11:26:54 +00:00
|
|
|
"@org_golang_google_grpc//:grpc",
|
2022-07-07 20:11:50 +00:00
|
|
|
"@org_golang_google_grpc//codes",
|
|
|
|
"@org_golang_google_grpc//credentials",
|
|
|
|
"@org_golang_google_grpc//health",
|
|
|
|
"@org_golang_google_grpc//health/grpc_health_v1",
|
|
|
|
"@org_golang_google_grpc//reflection",
|
2024-02-24 00:34:55 +00:00
|
|
|
"@org_golang_google_grpc//reflection/grpc_reflection_v1",
|
2022-07-07 20:11:50 +00:00
|
|
|
"@org_golang_google_grpc//reflection/grpc_reflection_v1alpha",
|
|
|
|
"@org_golang_google_grpc//status",
|
|
|
|
],
|
|
|
|
)
|