Documentation ¶ Index ¶ func ExtractHeaders(r *http.Request, logger util.Logger) (context.Context, util.Logger) func InjectHTTP(statusCode int, r *http.Request, span *telemetry.Span) type Metrics func NewMetrics(key string, logger util.Logger) *Metrics func (p *Metrics) WrapHandler(router *mux.Router) http.HandlerFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ExtractHeaders ¶ func ExtractHeaders(r *http.Request, logger util.Logger) (context.Context, util.Logger) func InjectHTTP ¶ func InjectHTTP(statusCode int, r *http.Request, span *telemetry.Span) Types ¶ type Metrics ¶ type Metrics struct { Key string MetricsPath string } func NewMetrics ¶ func NewMetrics(key string, logger util.Logger) *Metrics func (*Metrics) WrapHandler ¶ func (p *Metrics) WrapHandler(router *mux.Router) http.HandlerFunc Source Files ¶ View all Source files httpheaders.go metrics.go routing.go Click to show internal directories. Click to hide internal directories.