Documentation ¶
Index ¶
Constants ¶
View Source
const Ctx ctxID = iota
Ctx context id to extract newrelic transaction
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
Middleware type for DI
func NewMiddleware ¶
func NewMiddleware(app newrelic.Application) Middleware
NewMiddleware create http middleware to inject newrelic transaction into request context
Click to show internal directories.
Click to hide internal directories.