mirror of
https://github.com/SamTherapy/dnscrypt.git
synced 2024-07-02 21:56:06 +00:00
change import URL
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
abc4205da5
commit
3459b621a6
12
README.md
12
README.md
|
@ -1,6 +1,6 @@
|
|||
[![Code Coverage](https://img.shields.io/codecov/c/github/ameshkov/dnscrypt/master.svg)](https://codecov.io/github/ameshkov/dnscrypt?branch=master)
|
||||
[![Go Report Card](https://goreportcard.com/badge/github.com/ameshkov/dnscrypt)](https://goreportcard.com/report/ameshkov/dnscrypt)
|
||||
[![Go Doc](https://godoc.org/github.com/ameshkov/dnscrypt?status.svg)](https://godoc.org/github.com/ameshkov/dnscrypt)
|
||||
[![Code Coverage](https://img.shields.io/codecov/c/github/SamTherapy/dnscrypt/master.svg)](https://codecov.io/github/SamTherapy/dnscrypt?branch=master)
|
||||
[![Go Report Card](https://goreportcard.com/badge/dns.froth.zone/dnscrypt)](https://goreportcard.com/report/SamTherapy/dnscrypt)
|
||||
[![Go Doc](https://godoc.org/dns.froth.zone/dnscrypt?status.svg)](https://godoc.org/dns.froth.zone/dnscrypt)
|
||||
|
||||
# DNSCrypt Go
|
||||
|
||||
|
@ -27,7 +27,7 @@ Please note, that even though this tool can work as a server, it's purpose is me
|
|||
|
||||
### <a id="install"></a> How to install
|
||||
|
||||
Download and unpack an archive for your platform from the [latest release](https://github.com/ameshkov/dnscrypt/releases).
|
||||
Download and unpack an archive for your platform from the [latest release](https://github.com/SamTherapy/dnscrypt/releases).
|
||||
|
||||
Homebrew:
|
||||
```
|
||||
|
@ -136,7 +136,7 @@ You can also send a DNSCrypt request using a command that does not require stamp
|
|||
|
||||
```go
|
||||
import (
|
||||
"github.com/ameshkov/dnscrypt/v2"
|
||||
"dns.froth.zone/dnscrypt"
|
||||
)
|
||||
|
||||
// AdGuard DNS stamp
|
||||
|
@ -171,7 +171,7 @@ reply, err := c.Exchange(&req, resolverInfo)
|
|||
|
||||
```go
|
||||
import (
|
||||
"github.com/ameshkov/dnscrypt/v2"
|
||||
"dns.froth.zone/dnscrypt"
|
||||
)
|
||||
|
||||
// Prepare the test DNSCrypt server config
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"dns.froth.zone/dnscrypt"
|
||||
"github.com/AdguardTeam/golibs/log"
|
||||
"github.com/ameshkov/dnscrypt/v2"
|
||||
"golang.org/x/crypto/curve25519"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
|
|
@ -3,8 +3,8 @@ package main
|
|||
import (
|
||||
"os"
|
||||
|
||||
"dns.froth.zone/dnscrypt"
|
||||
"github.com/AdguardTeam/golibs/log"
|
||||
"github.com/ameshkov/dnscrypt/v2"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"dns.froth.zone/dnscrypt"
|
||||
"github.com/AdguardTeam/golibs/log"
|
||||
"github.com/ameshkov/dnscrypt/v2"
|
||||
"github.com/ameshkov/dnsstamps"
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"dns.froth.zone/dnscrypt"
|
||||
"github.com/AdguardTeam/golibs/log"
|
||||
"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/v2/xsecretbox"
|
||||
"dns.froth.zone/dnscrypt/xsecretbox"
|
||||
"golang.org/x/crypto/nacl/secretbox"
|
||||
)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"math/rand"
|
||||
"time"
|
||||
|
||||
"github.com/ameshkov/dnscrypt/v2/xsecretbox"
|
||||
"dns.froth.zone/dnscrypt/xsecretbox"
|
||||
"golang.org/x/crypto/nacl/secretbox"
|
||||
)
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"math/rand"
|
||||
"testing"
|
||||
|
||||
"github.com/ameshkov/dnscrypt/v2/xsecretbox"
|
||||
"dns.froth.zone/dnscrypt/xsecretbox"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/ameshkov/dnscrypt/v2
|
||||
module dns.froth.zone/dnscrypt
|
||||
|
||||
go 1.18
|
||||
|
||||
|
|
Loading…
Reference in a new issue