commit | b35ccbc95a0eaae49fb65c5d627cb7149ed8d1ab | [log] [tgz] |
---|---|---|
author | Alex Vaghin <ddos@google.com> | Fri Aug 19 11:32:22 2016 +0200 |
committer | Alex Vaghin <ddos@google.com> | Mon Aug 22 20:33:07 2016 +0000 |
tree | def6600a950bef80c3b4e199dd929e10b48728f3 | |
parent | 1ba5ec0bf2707bea17c84c4e642fcfda33740480 [diff] |
acme: add Client.WaitAuthorization for polling It is quite often the case users need to poll an authorization until it reaches a final state. This change adds a handy method to do exactly that, as well as updating autocert.Manager to use the new method. Change-Id: I4d25e4ee751731815b77980caab6da98d3440b5d Reviewed-on: https://go-review.googlesource.com/27431 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>