Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxiedConnection ¶ added in v0.1.0
type ProxiedConnection struct {
Unrecoverable bool
// contains filtered or unexported fields
}
func (*ProxiedConnection) IsRecoverable ¶ added in v0.1.0
func (pc *ProxiedConnection) IsRecoverable(err error) bool
func (*ProxiedConnection) UpstreamRead ¶ added in v0.1.0
func (pc *ProxiedConnection) UpstreamRead(r *http.Request) ([]byte, error)
func (*ProxiedConnection) UpstreamWrite ¶ added in v0.1.0
func (pc *ProxiedConnection) UpstreamWrite(r *http.Request) error
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func (*Proxy) GetMonitoringEventTypes ¶
func (*Proxy) ServeHTTP ¶ added in v0.1.0
func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (*Proxy) SetObserver ¶
func (p *Proxy) SetObserver(mon monitoring.Observer)
type RequestPayload ¶ added in v0.1.0
type WSProxyHandler ¶ added in v0.1.0
type WSProxyHandler struct {
// contains filtered or unexported fields
}
func (*WSProxyHandler) GetOrCreateUpstreamConnection ¶ added in v0.1.0
func (h *WSProxyHandler) GetOrCreateUpstreamConnection(w http.ResponseWriter, r *http.Request) (*ProxiedConnection, error)
Click to show internal directories.
Click to hide internal directories.