aboutsummaryrefslogtreecommitdiff
path: root/middleware/proxy/proxy.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/proxy/proxy.go')
-rw-r--r--middleware/proxy/proxy.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/middleware/proxy/proxy.go b/middleware/proxy/proxy.go
index 090c070cb..9457fb2a1 100644
--- a/middleware/proxy/proxy.go
+++ b/middleware/proxy/proxy.go
@@ -28,6 +28,10 @@ type Proxy struct {
// midway.
Upstreams *[]Upstream
+
+ // Trace is the Trace middleware, if it is installed
+ // This is used by the grpc exchanger to trace through the grpc calls
+ Trace middleware.Handler
}
// Upstream manages a pool of proxy upstream hosts. Select should return a