Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForwardHTTP ¶
func ForwardHTTP(c *ugate.MeshCluster, w http.ResponseWriter, r *http.Request, pathH string) error
Types ¶
type HttpProxy ¶
type HttpProxy struct {
// contains filtered or unexported fields
}
HttpProxy handles HTTP PROXY and plain text HTTP requests (primarily on port 80) for egress side.
A DNAT or explicit proxy are sufficient - no need for TPROXY or REDIRECT, host is extracted from request and sessions should use cookies.
func NewHTTPProxy ¶
func (*HttpProxy) HttpProxyCapture ¶
RoundTripStart listening on the addr, as a HTTP_PROXY Handles CONNECT and PROXY requests using the gateway for streams.
Click to show internal directories.
Click to hide internal directories.