Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TraceConfig ¶
type TraceConfig struct {
Trace *TraceOptions `mapstructure:"trace" json:"trace" yaml:"trace"`
}
type TraceOptions ¶
type TraceOptions struct {
// Enabled enable request and response capture
Enabled bool `mapstructure:"enabled" json:"enabled" yaml:"enabled"`
// RequestHeaders add request headers to capture
RequestHeaders []string `mapstructure:"request_headers" json:"request_headers" yaml:"request_headers"`
// ResponseHeaders add response headers to capture
ResponseHeaders []string `mapstructure:"response_headers" json:"response_headers" yaml:"response_headers"`
}
Click to show internal directories.
Click to hide internal directories.