Versions in this module Expand all Collapse all v0 v0.1.0 Oct 28, 2019 Changes in this version type Proxy + func (p *Proxy) SetTransportProxy() error v0.0.5 Oct 4, 2019 Changes in this version + const URL + func SetTransportProxy() error + type Options struct + Code int + Delay time.Duration + Error bool + ErrorText string + FailEachNthCode int + FailEachNthRequest int + FailThreshold int + FailThresholdCode int + KeyPath string + PemPath string + type Proxy struct + FailEachNthRequestCounter int + FailThresholdCounter int + func NewProxy(transport http.RoundTripper, options *Options) (*Proxy, error) + func (p *Proxy) Start() error + func (p *Proxy) Stop()