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