Documentation
¶
Overview ¶
package httpproxy contains an upgrade-aware HTTP single-host reverse proxy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpgradeAwareSingleHostReverseProxy ¶
type UpgradeAwareSingleHostReverseProxy struct {
// contains filtered or unexported fields
}
UpgradeAwareSingleHostReverseProxy is capable of proxying both regular HTTP connections and those that require upgrading (e.g. web sockets). It implements the http.RoundTripper and http.Handler interfaces.
func NewUpgradeAwareSingleHostReverseProxy ¶
func NewUpgradeAwareSingleHostReverseProxy(clientConfig *kclient.Config, backendAddr *url.URL) (*UpgradeAwareSingleHostReverseProxy, error)
NewUpgradeAwareSingleHostReverseProxy creates a new UpgradeAwareSingleHostReverseProxy.
Click to show internal directories.
Click to hide internal directories.