summaryrefslogtreecommitdiff
path: root/modules/caddytls
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-07-02 12:37:06 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-07-02 12:37:06 -0600
commitfdd871e1775d1b6d85de43e8ecf7ddc71a72c503 (patch)
tree958ba660c9970dc9d33487e1af6f50af8ff2e034 /modules/caddytls
parent94c28a2574e8691aa64d28d70e9c03cb1d049726 (diff)
go.mod: Append /v2 to module name; update all import paths
See https://github.com/golang/go/wiki/Modules#semantic-import-versioning
Diffstat (limited to 'modules/caddytls')
-rw-r--r--modules/caddytls/acmemanager.go2
-rw-r--r--modules/caddytls/connpolicy.go2
-rw-r--r--modules/caddytls/fileloader.go2
-rw-r--r--modules/caddytls/folderloader.go2
-rw-r--r--modules/caddytls/matchers.go2
-rw-r--r--modules/caddytls/sessiontickets.go2
-rw-r--r--modules/caddytls/standardstek/stek.go4
-rw-r--r--modules/caddytls/tls.go2
-rw-r--r--modules/caddytls/values.go2
9 files changed, 10 insertions, 10 deletions
diff --git a/modules/caddytls/acmemanager.go b/modules/caddytls/acmemanager.go
index 7969e28..9f9924e 100644
--- a/modules/caddytls/acmemanager.go
+++ b/modules/caddytls/acmemanager.go
@@ -22,7 +22,7 @@ import (
"github.com/go-acme/lego/certcrypto"
- "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/v2"
"github.com/go-acme/lego/challenge"
"github.com/mholt/certmagic"
)
diff --git a/modules/caddytls/connpolicy.go b/modules/caddytls/connpolicy.go
index ab0fbca..8cb6ffe 100644
--- a/modules/caddytls/connpolicy.go
+++ b/modules/caddytls/connpolicy.go
@@ -21,7 +21,7 @@ import (
"fmt"
"strings"
- "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/v2"
"github.com/go-acme/lego/challenge/tlsalpn01"
"github.com/mholt/certmagic"
)
diff --git a/modules/caddytls/fileloader.go b/modules/caddytls/fileloader.go
index d673ebf..5f277c8 100644
--- a/modules/caddytls/fileloader.go
+++ b/modules/caddytls/fileloader.go
@@ -19,7 +19,7 @@ import (
"fmt"
"io/ioutil"
- "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/v2"
)
func init() {
diff --git a/modules/caddytls/folderloader.go b/modules/caddytls/folderloader.go
index 53ed378..24a7fbb 100644
--- a/modules/caddytls/folderloader.go
+++ b/modules/caddytls/folderloader.go
@@ -24,7 +24,7 @@ import (
"path/filepath"
"strings"
- "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/v2"
)
func init() {
diff --git a/modules/caddytls/matchers.go b/modules/caddytls/matchers.go
index 28728d4..ee146d4 100644
--- a/modules/caddytls/matchers.go
+++ b/modules/caddytls/matchers.go
@@ -17,7 +17,7 @@ package caddytls
import (
"crypto/tls"
- "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/v2"
)
// MatchServerName matches based on SNI.
diff --git a/modules/caddytls/sessiontickets.go b/modules/caddytls/sessiontickets.go
index b71cb7d..c47f823 100644
--- a/modules/caddytls/sessiontickets.go
+++ b/modules/caddytls/sessiontickets.go
@@ -23,7 +23,7 @@ import (
"sync"
"time"
- "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/v2"
)
// SessionTicketService configures and manages TLS session tickets.
diff --git a/modules/caddytls/standardstek/stek.go b/modules/caddytls/standardstek/stek.go
index 00e69d8..6a4b1c8 100644
--- a/modules/caddytls/standardstek/stek.go
+++ b/modules/caddytls/standardstek/stek.go
@@ -19,8 +19,8 @@ import (
"sync"
"time"
- "github.com/caddyserver/caddy"
- "github.com/caddyserver/caddy/modules/caddytls"
+ "github.com/caddyserver/caddy/v2"
+ "github.com/caddyserver/caddy/v2/modules/caddytls"
)
func init() {
diff --git a/modules/caddytls/tls.go b/modules/caddytls/tls.go
index b38657b..e70fbd1 100644
--- a/modules/caddytls/tls.go
+++ b/modules/caddytls/tls.go
@@ -23,7 +23,7 @@ import (
"os"
"time"
- "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/v2"
"github.com/go-acme/lego/challenge"
"github.com/mholt/certmagic"
"golang.org/x/time/rate"
diff --git a/modules/caddytls/values.go b/modules/caddytls/values.go
index afd4044..97443d8 100644
--- a/modules/caddytls/values.go
+++ b/modules/caddytls/values.go
@@ -69,7 +69,7 @@ var defaultCipherSuitesWithoutAESNI = []uint16{
// getOptimalDefaultCipherSuites returns an appropriate cipher
// suite to use depending on the hardware support for AES.
//
-// See https://github.com/mholt/caddy/issues/1674
+// See https://github.com/caddyserver/caddy/issues/1674
func getOptimalDefaultCipherSuites() []uint16 {
if cpuid.CPU.AesNi() {
return defaultCipherSuitesWithAESNI