Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

siderolabs/protoc-gen-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

protoc plugin to extend grpc generation with proxy(multiplexing) functionality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published