acme: expose internal/acme as acme package

This moves all of internal/acme into the acme package,
making the lower level API accessible by any other package.

Fixes golang/go#16938.

Change-Id: Ie35f4b6b6b42ebb7fb4ad03ba067df8c3063feff
Reviewed-on: https://go-review.googlesource.com/28297
TryBot-Result: Gobot Gobot <gobot@golang.org>
Run-TryBot: Alex Vaghin <ddos@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Alex Vaghin
2016-08-31 19:38:21 +00:00
parent 33b41827e6
commit d3c1194e7c
7 changed files with 6 additions and 2 deletions
@@ -6,6 +6,10 @@
// Automatic Certificate Management Environment (ACME) spec.
// See https://tools.ietf.org/html/draft-ietf-acme-acme-02 for details.
//
// Most common scenarios will want to use autocert subdirectory instead,
// which provides automatic access to certificates from Let's Encrypt
// and any other ACME-based CA.
//
// This package is a work in progress and makes no API stability promises.
package acme
+1 -1
View File
@@ -27,7 +27,7 @@ import (
"sync"
"time"
"golang.org/x/crypto/acme/internal/acme"
"golang.org/x/crypto/acme"
"golang.org/x/net/context"
)
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"testing"
"time"
"golang.org/x/crypto/acme/internal/acme"
"golang.org/x/crypto/acme"
"golang.org/x/net/context"
)