(ctx context.Context, val bool)
| 49 | ) |
| 50 | |
| 51 | func SetInstanceIsAgent(ctx context.Context, val bool) context.Context { |
| 52 | return context.WithValue(ctx, instanceIsAgent, val) |
| 53 | } |
| 54 | |
| 55 | func InstanceIsAgent(ctx context.Context) bool { |
| 56 | elem := ctx.Value(instanceIsAgent) |
no outgoing calls
no test coverage detected