grpc-proxy-gen

module
v0.0.0-...-9b95316 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2020 License: Apache-2.0

README

gRPC proxy generator

Generates stubs for proxying requests to different versions of the same service.

Generate go protoset library

$ hack/proto-gen.sh

This generates the go protoset library and is needed for go.mod to be able to import it.

Update deps from go mod

bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%go_dependencies
INFO: Analyzed target //:gazelle (65 packages loaded, 7136 targets configured).
INFO: Found 1 target...
Target //:gazelle up-to-date:
  bazel-bin/gazelle-runner.bash
  bazel-bin/gazelle
INFO: Elapsed time: 5,847s, Critical Path: 0,05s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: bazel-bin/gazelle -bazel_run update-repos '-from_file=go.mod' '-to_macro=deps.bzl%
INFO: Build completed successfully, 1 total action

Directories

Path Synopsis
cartproxy
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL