mirror of
https://github.com/linka-cloud/grpc.git
synced 2025-06-22 09:12:28 +00:00
add grpc-proxy (github.com/mwitkow/grpc-proxy)
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
15
proxy/doc.go
Normal file
15
proxy/doc.go
Normal file
@ -0,0 +1,15 @@
|
||||
// Copyright 2017 Michal Witkowski. All Rights Reserved.
|
||||
// See LICENSE for licensing terms.
|
||||
|
||||
/*
|
||||
Package proxy provides a reverse proxy handler for gRPC.
|
||||
|
||||
The implementation allows a grpc.Server to pass a received ServerStream to a ClientStream without understanding
|
||||
the semantics of the messages exchanged. It basically provides a transparent reverse-proxy.
|
||||
|
||||
This package is intentionally generic, exposing a StreamDirector function that allows users of this package
|
||||
to implement whatever logic of backend-picking, dialing and service verification to perform.
|
||||
|
||||
See examples on documented functions.
|
||||
*/
|
||||
package proxy
|
Reference in New Issue
Block a user