mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-05 03:38:40 +00:00
Fix: format
This commit is contained in:
parent
fc8b580017
commit
4eb3acb4dd
14 changed files with 24 additions and 22 deletions
|
@ -1,9 +1,10 @@
|
|||
package domain
|
||||
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/xtls/xray-core/common/matcher/str"
|
||||
"github.com/xtls/xray-core/features/routing"
|
||||
"strings"
|
||||
)
|
||||
|
||||
var matcherTypeMap = map[MatchingType]str.Type{
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
package geoip
|
||||
|
||||
import (
|
||||
"github.com/xtls/xray-core/common/net"
|
||||
"github.com/xtls/xray-core/infra/conf/common"
|
||||
"runtime"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/golang/protobuf/proto"
|
||||
"github.com/xtls/xray-core/common/net"
|
||||
"github.com/xtls/xray-core/common/platform/filesystem"
|
||||
)
|
||||
|
||||
|
@ -93,7 +92,7 @@ func find(data, code []byte) []byte {
|
|||
}
|
||||
}
|
||||
|
||||
func ParaseIPList(ips common.StringList) ([]*GeoIP, error) {
|
||||
func ParaseIPList(ips []string) ([]*GeoIP, error) {
|
||||
var geoipList []*GeoIP
|
||||
var customCidrs []*CIDR
|
||||
|
||||
|
|
|
@ -3,11 +3,11 @@ package session // import "github.com/xtls/xray-core/common/session"
|
|||
|
||||
import (
|
||||
"context"
|
||||
"github.com/xtls/xray-core/common/matcher/domain"
|
||||
"github.com/xtls/xray-core/common/matcher/geoip"
|
||||
"math/rand"
|
||||
|
||||
"github.com/xtls/xray-core/common/errors"
|
||||
"github.com/xtls/xray-core/common/matcher/domain"
|
||||
"github.com/xtls/xray-core/common/matcher/geoip"
|
||||
"github.com/xtls/xray-core/common/net"
|
||||
"github.com/xtls/xray-core/common/protocol"
|
||||
"github.com/xtls/xray-core/common/signal"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue