(ctx context.Context, chal acme.Challenge)
| 870 | type solverWrapper struct{ acmez.Solver } |
| 871 | |
| 872 | func (sw solverWrapper) Present(ctx context.Context, chal acme.Challenge) error { |
| 873 | activeChallengesMu.Lock() |
| 874 | activeChallenges[challengeKey(chal)] = Challenge{Challenge: chal} |
| 875 | activeChallengesMu.Unlock() |
| 876 | return sw.Solver.Present(ctx, chal) |
| 877 | } |
| 878 | |
| 879 | func (sw solverWrapper) Wait(ctx context.Context, chal acme.Challenge) error { |
| 880 | if waiter, ok := sw.Solver.(acmez.Waiter); ok { |
nothing calls this directly
no test coverage detected