context_stub.go 319 B

1234567891011121314
  1. // +build !go1.7
  2. package newrelic
  3. import "net/http"
  4. // RequestWithTransactionContext adds the transaction to the request's context.
  5. func RequestWithTransactionContext(req *http.Request, txn Transaction) *http.Request {
  6. return req
  7. }
  8. func transactionFromRequestContext(req *http.Request) Transaction {
  9. return nil
  10. }