(ctx context.Context, instance params.Instance)
| 109 | } |
| 110 | |
| 111 | func SetInstanceParams(ctx context.Context, instance params.Instance) context.Context { |
| 112 | return context.WithValue(ctx, instanceParams, instance) |
| 113 | } |
| 114 | |
| 115 | func InstanceParams(ctx context.Context) (params.Instance, error) { |
| 116 | elem := ctx.Value(instanceParams) |
no outgoing calls