google / certificate-transparency

Auditing for TLS certificates.
https://certificate.transparency.dev
Apache License 2.0
868 stars 283 forks source link

Golang: Make usage of contexts consistent #1340

Closed rolandshoemaker closed 8 years ago

rolandshoemaker commented 8 years ago

Remove the special method client.AddChainWithContext and make the following methods take a x/net/context.Context as their first parameter:

Fixes #1326.

daviddrysdale commented 8 years ago

LGTM; Paul, are you OK with the API change?