Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { HeaderPrefix string `json:"headerPrefix"` HeaderName string `json:"headerName"` Verbose bool `json:"verbose"` }
Config the plugin configuration.
func CreateConfig ¶
func CreateConfig() *Config
CreateConfig creates the default plugin configuration.
type TraceIDHeader ¶
type TraceIDHeader struct {
// contains filtered or unexported fields
}
TraceIDHeader header if it's missing
func (*TraceIDHeader) ServeHTTP ¶
func (t *TraceIDHeader) ServeHTTP(rw http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.