fix caddy imports

This commit is contained in:
Tobias Krischer 2020-11-01 03:59:21 +01:00
parent 49e376d95c
commit 3f4967eb68
No known key found for this signature in database
GPG Key ID: E9D8FDB171E04060
4 changed files with 443 additions and 219 deletions

8
go.mod
View File

@ -3,8 +3,8 @@ module github.com/jwhited/wgsd
go 1.14 go 1.14
require ( require (
github.com/caddyserver/caddy v1.0.5 github.com/coredns/caddy v1.1.0
github.com/coredns/coredns v1.6.9 github.com/coredns/coredns v1.8.0
github.com/miekg/dns v1.1.29 github.com/miekg/dns v1.1.35
golang.zx2c4.com/wireguard/wgctrl v0.0.0-20200511024508-91d9787b944f golang.zx2c4.com/wireguard/wgctrl v0.0.0-20200609130330-bd2cb7843e1b
) )

650
go.sum

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@ package wgsd
import ( import (
"fmt" "fmt"
"github.com/caddyserver/caddy" "github.com/coredns/caddy"
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/miekg/dns" "github.com/miekg/dns"

View File

@ -3,7 +3,7 @@ package wgsd
import ( import (
"testing" "testing"
"github.com/caddyserver/caddy" "github.com/coredns/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {