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

15 lines
319 B
Go
Raw Normal View History

2018-10-25 15:24:34 +02:00
// +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
}
2019-01-11 15:01:41 +02:00
func transactionFromRequestContext(req *http.Request) Transaction {
return nil
}