Removal: confonly (#368)

This commit is contained in:
Jim Han 2021-03-14 23:05:08 +08:00 committed by GitHub
parent a0a32ee00d
commit e0526c27b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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