Browse Source

Removal: confonly (#368)

pull/377/head
Jim Han 4 years ago committed by GitHub
parent
commit
e0526c27b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/dispatcher/fakednssniffer.go
  2. 4
      app/dns/fakedns/fake.go
  3. 2
      app/dns/fakedns/fakedns.go
  4. 4
      app/dns/nameserver_fakedns.go

4
app/dispatcher/fakednssniffer.go

@ -1,14 +1,12 @@
// +build !confonly
package dispatcher
import (
"context"
"github.com/xtls/xray-core/core"
"github.com/xtls/xray-core/common"
"github.com/xtls/xray-core/common/net"
"github.com/xtls/xray-core/common/session"
"github.com/xtls/xray-core/core"
"github.com/xtls/xray-core/features/dns"
)

4
app/dns/fakedns/fake.go

@ -1,5 +1,3 @@
// +build !confonly
package fakedns
import (
@ -17,7 +15,7 @@ import (
type Holder struct {
domainToIP cache.Lru
ipRange *gonet.IPNet
ipRange *gonet.IPNet
config *FakeDnsPool
}

2
app/dns/fakedns/fakedns.go

@ -1,5 +1,3 @@
// +build !confonly
package fakedns
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen

4
app/dns/nameserver_fakedns.go

@ -1,12 +1,10 @@
// +build !confonly
package dns
import (
"context"
"github.com/xtls/xray-core/core"
"github.com/xtls/xray-core/common/net"
"github.com/xtls/xray-core/core"
"github.com/xtls/xray-core/features/dns"
)

Loading…
Cancel
Save