~hduran-8/+junk/caddy

« back to all changes in this revision

Viewing changes to debian/gocode/src/golang.org/x/crypto/acme/acme.go

  • Committer: Horacio Durán
  • Date: 2017-01-20 16:21:20 UTC
  • Revision ID: horacio.duran@canonical.com-20170120162120-l82mfqwmsclnk838
Upgrade to 0.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
406
406
func (c *Client) RevokeAuthorization(ctx context.Context, url string) error {
407
407
        req := struct {
408
408
                Resource string `json:"resource"`
 
409
                Status   string `json:"status"`
409
410
                Delete   bool   `json:"delete"`
410
411
        }{
411
412
                Resource: "authz",
 
413
                Status:   "deactivated",
412
414
                Delete:   true,
413
415
        }
414
416
        res, err := postJWS(ctx, c.HTTPClient, c.Key, url, req)