Documentation
¶
Index ¶
- Variables
- func Rewrite(pr *httputil.ProxyRequest)
- type Proxy
- type Wrapper
- func (w *Wrapper) FromLocal(r *http.Request) (err error)
- func (w *Wrapper) FromRemote(r *http.Request) (err error)
- func (w *Wrapper) Header() http.Header
- func (w *Wrapper) Release()
- func (w *Wrapper) ToLocal()
- func (w *Wrapper) ToRemote(tn *mess.Node) error
- func (w *Wrapper) Unwrap() http.ResponseWriter
- func (w *Wrapper) Write(p []byte) (int, error)
- func (w *Wrapper) WriteHeader(code int)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Rewrite ¶
func Rewrite(pr *httputil.ProxyRequest)
Types ¶
type Wrapper ¶
type Wrapper struct {
Start time.Time
Caller proxyArgs
Target proxyArgs
InProto string
Scheme string
Host string
Status int
Bytes uint64
// contains filtered or unexported fields
}
func FromContext ¶
func (*Wrapper) Unwrap ¶
func (w *Wrapper) Unwrap() http.ResponseWriter
func (*Wrapper) WriteHeader ¶
Click to show internal directories.
Click to hide internal directories.