Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forwarder ¶
type Forwarder interface {
Forward(w http.ResponseWriter, r *http.Request, c Transformer)
}
type Proxy ¶
type Proxy struct { FlushInterval time.Duration Logger *log.Logger // contains filtered or unexported fields }
func (*Proxy) Forward ¶
func (p *Proxy) Forward(w http.ResponseWriter, r *http.Request, n Transformer)
type RingTarget ¶
type RingTarget struct {
// contains filtered or unexported fields
}
func NewRingTarget ¶
func NewRingTarget(baseURL []*url.URL) *RingTarget
func (*RingTarget) Target ¶
func (t *RingTarget) Target() *url.URL
type Transformer ¶
Click to show internal directories.
Click to hide internal directories.