stamps -> dnsstamps
This commit is contained in:
parent
e48562441e
commit
f63dc17f90
|
@ -13,7 +13,7 @@ import (
|
||||||
|
|
||||||
"github.com/BurntSushi/toml"
|
"github.com/BurntSushi/toml"
|
||||||
"github.com/jedisct1/dlog"
|
"github.com/jedisct1/dlog"
|
||||||
"github.com/jedisct1/dnscrypt-proxy/stamps"
|
stamps "github.com/jedisct1/dnscrypt-proxy/dnsstamps"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
|
|
|
@ -9,9 +9,9 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jedisct1/dlog"
|
"github.com/jedisct1/dlog"
|
||||||
|
stamps "github.com/jedisct1/dnscrypt-proxy/dnsstamps"
|
||||||
clocksmith "github.com/jedisct1/go-clocksmith"
|
clocksmith "github.com/jedisct1/go-clocksmith"
|
||||||
"golang.org/x/crypto/curve25519"
|
"golang.org/x/crypto/curve25519"
|
||||||
"github.com/jedisct1/dnscrypt-proxy/stamps"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type Proxy struct {
|
type Proxy struct {
|
||||||
|
|
|
@ -17,7 +17,7 @@ import (
|
||||||
|
|
||||||
"github.com/VividCortex/ewma"
|
"github.com/VividCortex/ewma"
|
||||||
"github.com/jedisct1/dlog"
|
"github.com/jedisct1/dlog"
|
||||||
"github.com/jedisct1/dnscrypt-proxy/stamps"
|
stamps "github.com/jedisct1/dnscrypt-proxy/dnsstamps"
|
||||||
"golang.org/x/crypto/ed25519"
|
"golang.org/x/crypto/ed25519"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@ import (
|
||||||
"github.com/dchest/safefile"
|
"github.com/dchest/safefile"
|
||||||
|
|
||||||
"github.com/jedisct1/dlog"
|
"github.com/jedisct1/dlog"
|
||||||
|
stamps "github.com/jedisct1/dnscrypt-proxy/dnsstamps"
|
||||||
"github.com/jedisct1/go-minisign"
|
"github.com/jedisct1/go-minisign"
|
||||||
"github.com/jedisct1/dnscrypt-proxy/stamps"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type SourceFormat int
|
type SourceFormat int
|
||||||
|
|
|
@ -17,8 +17,8 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jedisct1/dnscrypt-proxy/stamps"
|
|
||||||
"github.com/jedisct1/dlog"
|
"github.com/jedisct1/dlog"
|
||||||
|
stamps "github.com/jedisct1/dnscrypt-proxy/dnsstamps"
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/http2"
|
"golang.org/x/net/http2"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package stamps
|
package dnsstamps
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
|
@ -29,6 +29,7 @@ const (
|
||||||
StampProtoTypePlain = StampProtoType(0x00)
|
StampProtoTypePlain = StampProtoType(0x00)
|
||||||
StampProtoTypeDNSCrypt = StampProtoType(0x01)
|
StampProtoTypeDNSCrypt = StampProtoType(0x01)
|
||||||
StampProtoTypeDoH = StampProtoType(0x02)
|
StampProtoTypeDoH = StampProtoType(0x02)
|
||||||
|
StampProtoTypeTLS = StampProtoType(0x03)
|
||||||
)
|
)
|
||||||
|
|
||||||
func (stampProtoType *StampProtoType) String() string {
|
func (stampProtoType *StampProtoType) String() string {
|
Loading…
Reference in New Issue