mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-28 14:17:17 +00:00
5241582ece
* Add CORS preflight support * lint * clarify description
27 lines
857 B
Python
27 lines
857 B
Python
# gazelle:ignore
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"cors.go",
|
|
"gateway.go",
|
|
"handlers.go",
|
|
"log.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/gateway",
|
|
visibility = [
|
|
"//beacon-chain/gateway/server:__pkg__",
|
|
"//beacon-chain/node:__pkg__",
|
|
],
|
|
deps = [
|
|
"//shared:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_grpc_gateway_library",
|
|
"@com_github_rs_cors//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@grpc_ecosystem_grpc_gateway//runtime:go_default_library",
|
|
"@org_golang_google_grpc//:go_default_library",
|
|
"@org_golang_google_grpc//connectivity:go_default_library",
|
|
],
|
|
)
|