grpcproxy

command module
v0.0.0-...-a0650b7 Latest Latest
Warning

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

Go to latest
Published: May 26, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

README

grpcproxy

an http2 and http2 only reverse proxy, basically for grpc usage.

usage

installation

go get -v github.com/dtynn/grpcproxy
go install github.com/dtynn/grpcproxy/...

start

grpcproxy run -c path/to/config/file

backend examples

gproxy service foo 51001
gproxy service foo 51002
gproxy service bar 51003
gproxy service bar 51004
gproxy service bar 51005

request testing

gproxy call "localhost:8000" for test
gproxy call "localhost:8000" for testerror
gproxy call "localhost:8000" bar test
gproxy call "localhost:8000" bar testerror

TODO

  • TLS support for both frontend and backend ✅
  • load balance policies ✅
  • failure policies
  • log options
  • test grpc streaming request
  • ...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
example
rpc
Package rpc is a generated protocol buffer package.
Package rpc is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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