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 { // enable request and response capture Enabled bool `mapstructure:"enabled" json:"enabled" yaml:"enabled"` // add request headers to capture RequestHeaders []string `mapstructure:"request_headers" json:"request_headers" yaml:"request_headers"` // 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.