Versions in this module Expand all Collapse all v1 v1.0.0 Jan 20, 2026 Changes in this version + func GetLoopback() selector.Node + func SetDefault(proxy Proxy) + func SetLoopback(let selector.Node) + type Option func(*ReverseProxy) + func WithActivateMock(fn func(client *http.Client)) Option + func WithDialer(d *net.Dialer) Option + func WithInitialNodes(nodes []selector.Node) Option + func WithSelector(s selector.Selector) Option + type Proxy interface + Apply func(nodes []selector.Node) + Do func(req *http.Request, collapsed bool, waitTimeout time.Duration) (*http.Response, error) + DoLoopback func(req *http.Request) (*http.Response, error) + func GetProxy() Proxy + type ReverseProxy struct + func New(opts ...Option) *ReverseProxy + func (r *ReverseProxy) Apply(nodes []selector.Node) + func (r *ReverseProxy) Do(req *http.Request, collapsed bool, waitTimeout time.Duration) (*http.Response, error) + func (r *ReverseProxy) DoLoopback(req *http.Request) (*http.Response, error) + type Tuple struct + L *http.Response + R []byte