1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-08 10:45:04 +02:00
imgproxy/vendor/github.com/newrelic/go-agent/context_stub.go
2019-01-14 16:50:28 +06:00

15 lines
319 B
Go

// +build !go1.7
package newrelic
import "net/http"
// RequestWithTransactionContext adds the transaction to the request's context.
func RequestWithTransactionContext(req *http.Request, txn Transaction) *http.Request {
return req
}
func transactionFromRequestContext(req *http.Request) Transaction {
return nil
}