protoc-gen-proxy

command module
v0.0.0-...-4a9e5da Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MPL-2.0 Imports: 6 Imported by: 0

README

protoc-gen-proxy

protoc plugin to extend grpc generation with proxy(multiplexing) functionality. This plugin is meant to be chained with the grpc plugin to add additional functionality to gRPC.

Usage

protoc -I./tests/proto --plugin=proxy --proxy_out=plugins=grpc+proxy:tests/proto tests/proto/api.proto

The following will extend the generated gRPC protobuf definition to include a grpc.UnaryInterceptor that will route incoming requests to any additional hosts specified in the metadata["targets"] field.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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