Versions in this module Expand all Collapse all v0 v0.0.7 Aug 13, 2021 v0.0.6 Aug 13, 2021 Changes in this version type ReverseConfig + CookieHttpOnly bool v0.0.5 Aug 13, 2021 Changes in this version + type Config struct + JavascriptURL string + Logger *log.Logger + Reverse *ReverseConfig + SourceInsecure bool + TargetURL *url.URL + Transport http.RoundTripper + type HTTPExchange struct + Request *Request + Response *Response + Target *url.URL + type InitializerFunc func(*log.Logger) (Listener, error) + type InterceptingTransport struct + Plugins *PluginBroker + TargetURL *url.URL + func (t *InterceptingTransport) RoundTrip(req *http.Request) (*http.Response, error) + type Listener interface + Listen func(<-chan *HTTPExchange) + type PluginBroker struct + func LoadPlugins(logger *log.Logger, paths []string) (*PluginBroker, error) + func (p *PluginBroker) SendResult(exchange *HTTPExchange) error + func (p *PluginBroker) SignalDone() + func (p *PluginBroker) TransformRequest(request *http.Request) error + func (p *PluginBroker) TransformResponse(response *http.Response) error + type ProxyServer struct + func New(config *Config) *ProxyServer + func (p *ProxyServer) HandleRequests(w http.ResponseWriter, r *http.Request) + type Request struct + func (r *Request) CloneBody(ctx context.Context) (*Request, error) + type RequestTransformer func(*http.Request) error + type Response struct + func (r *Response) CloneBody() (*Response, error) + type ResponseTransformer func(*http.Response) error + type ReverseConfig struct + Address string + CookieDomain string + DumpURL []string + InjectURLs []string + OnlyDomain bool + Port int