diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-06-14 11:58:28 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-06-14 11:58:28 -0600 |
commit | 5137859e47678aae81e178ca7d164f9e2b4e3121 (patch) | |
tree | f0e5cb9b9a4ad5dc03b53127fcea2a536bd6ee27 /modules/caddytls/matchers.go | |
parent | b8e7453fef3dac6036403bc384eec96becff5114 (diff) |
Rename caddy2 -> caddy
Removes the version from the package name
Diffstat (limited to 'modules/caddytls/matchers.go')
-rw-r--r-- | modules/caddytls/matchers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddytls/matchers.go b/modules/caddytls/matchers.go index 712472f..a0d26bb 100644 --- a/modules/caddytls/matchers.go +++ b/modules/caddytls/matchers.go @@ -3,14 +3,14 @@ package caddytls import ( "crypto/tls" - "github.com/caddyserver/caddy2" + "github.com/caddyserver/caddy" ) // MatchServerName matches based on SNI. type MatchServerName []string func init() { - caddy2.RegisterModule(caddy2.Module{ + caddy.RegisterModule(caddy.Module{ Name: "tls.handshake_match.sni", New: func() interface{} { return MatchServerName{} }, }) |