Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BodyRewrite ¶ added in v1.8.0
type Handler ¶
type Handler struct {
Transport *http.Transport
Store *capture.Store
Mocks *mock.Store
Intercept *intercept.Queue
InterceptMatch string
InterceptTimeout time.Duration
HostCerts *cert.HostCertCache
Log *slog.Logger
MitmEnable bool
HostRewrites []HostRewrite
AddHeaders []HeaderValue
RemoveHeaders []string
OnCapture func(*capture.Capture)
IgnorePatterns []string
MapRemotes []MapRemoteRule
BodyRewrites []BodyRewrite
MaxBodySize int64
Mode string
ReverseTarget *url.URL
}
type HeaderValue ¶ added in v1.3.0
type HostRewrite ¶ added in v1.3.0
type MapRemoteRule ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.