Documentation ¶
Overview ¶
Package proxy is a transport proxy built on the vine/server
Package proxy is a transport proxy built on the vine/server
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultEndpoint = "localhost:9090"
)
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *Options)
type Proxy ¶
type Proxy interface { // ProcessMessage handles inbound messages ProcessMessage(context.Context, server.Message) error // ServeRequest handles inbound requests ServeRequest(context.Context, server.Request, server.Response) error // Name of the proxy protocol String() string }
Proxy can be used as a proxy server for vine services
Directories ¶
Path | Synopsis |
---|---|
Package grpc transparently forwards the grpc protocol using a vine client.
|
Package grpc transparently forwards the grpc protocol using a vine client. |
Package http provides a vine rpc to http proxy Package http provides a vine rpc to http proxy
|
Package http provides a vine rpc to http proxy Package http provides a vine rpc to http proxy |
Package mucp transparently forwards the incoming request using a vine client.
|
Package mucp transparently forwards the incoming request using a vine client. |
Click to show internal directories.
Click to hide internal directories.