(ctx context.Context, traceAttrs []attribute.KeyValue)
| 61 | } |
| 62 | |
| 63 | func WithInterceptionAttributesInContext(ctx context.Context, traceAttrs []attribute.KeyValue) context.Context { |
| 64 | return context.WithValue(ctx, traceInterceptionAttrsContextKey{}, traceAttrs) |
| 65 | } |
| 66 | |
| 67 | func InterceptionAttributesFromContext(ctx context.Context) []attribute.KeyValue { |
| 68 | attrs, ok := ctx.Value(traceInterceptionAttrsContextKey{}).([]attribute.KeyValue) |
no outgoing calls
no test coverage detected