mirror of
https://github.com/SamTherapy/dnscrypt.git
synced 2024-12-22 00:50:42 +00:00
Upgrade to v2
This commit is contained in:
parent
109bdeae42
commit
ec8cdd3529
7 changed files with 7 additions and 7 deletions
|
@ -4,7 +4,7 @@ import (
|
|||
"io/ioutil"
|
||||
|
||||
"github.com/AdguardTeam/golibs/log"
|
||||
"github.com/ameshkov/dnscrypt"
|
||||
"github.com/ameshkov/dnscrypt/v2"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/AdguardTeam/golibs/log"
|
||||
"github.com/ameshkov/dnscrypt"
|
||||
"github.com/ameshkov/dnscrypt/v2"
|
||||
"github.com/ameshkov/dnsstamps"
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"syscall"
|
||||
|
||||
"github.com/AdguardTeam/golibs/log"
|
||||
"github.com/ameshkov/dnscrypt"
|
||||
"github.com/ameshkov/dnscrypt/v2"
|
||||
"github.com/miekg/dns"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/ameshkov/dnscrypt/xsecretbox"
|
||||
"github.com/ameshkov/dnscrypt/v2/xsecretbox"
|
||||
"golang.org/x/crypto/nacl/secretbox"
|
||||
)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/ameshkov/dnscrypt/xsecretbox"
|
||||
"github.com/ameshkov/dnscrypt/v2/xsecretbox"
|
||||
"golang.org/x/crypto/nacl/secretbox"
|
||||
)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"math/rand"
|
||||
"testing"
|
||||
|
||||
"github.com/ameshkov/dnscrypt/xsecretbox"
|
||||
"github.com/ameshkov/dnscrypt/v2/xsecretbox"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
|
2
util.go
2
util.go
|
@ -6,7 +6,7 @@ import (
|
|||
"net"
|
||||
"strings"
|
||||
|
||||
"github.com/ameshkov/dnscrypt/xsecretbox"
|
||||
"github.com/ameshkov/dnscrypt/v2/xsecretbox"
|
||||
"github.com/miekg/dns"
|
||||
"golang.org/x/crypto/nacl/box"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue