mirror of
				https://github.com/optim-enterprises-bv/Xray-core.git
				synced 2025-10-30 18:18:04 +00:00 
			
		
		
		
	Chore: Run gofmt (#3990)
This commit is contained in:
		| @@ -11,8 +11,8 @@ import ( | ||||
|  | ||||
| 	"github.com/xtls/xray-core/app/proxyman" | ||||
| 	"github.com/xtls/xray-core/common" | ||||
| 	"github.com/xtls/xray-core/common/errors" | ||||
| 	"github.com/xtls/xray-core/common/buf" | ||||
| 	"github.com/xtls/xray-core/common/errors" | ||||
| 	"github.com/xtls/xray-core/common/mux" | ||||
| 	"github.com/xtls/xray-core/common/net" | ||||
| 	"github.com/xtls/xray-core/common/net/cnc" | ||||
|   | ||||
| @@ -3,8 +3,8 @@ package conf | ||||
| import ( | ||||
| 	"google.golang.org/protobuf/proto" | ||||
|  | ||||
| 	"github.com/xtls/xray-core/app/router" | ||||
| 	"github.com/xtls/xray-core/app/observatory/burst" | ||||
| 	"github.com/xtls/xray-core/app/router" | ||||
| 	"github.com/xtls/xray-core/infra/conf/cfgcommon/duration" | ||||
| ) | ||||
|  | ||||
|   | ||||
| @@ -15,8 +15,8 @@ import ( | ||||
| 	"google.golang.org/grpc/credentials/insecure" | ||||
|  | ||||
| 	"github.com/xtls/xray-core/common/buf" | ||||
| 	"github.com/xtls/xray-core/main/commands/base" | ||||
| 	creflect "github.com/xtls/xray-core/common/reflect" | ||||
| 	"github.com/xtls/xray-core/main/commands/base" | ||||
| 	"google.golang.org/grpc" | ||||
| 	"google.golang.org/protobuf/proto" | ||||
| ) | ||||
|   | ||||
| @@ -10,9 +10,9 @@ import ( | ||||
|  | ||||
| 	"github.com/xtls/xray-core/common" | ||||
| 	"github.com/xtls/xray-core/common/buf" | ||||
| 	"github.com/xtls/xray-core/common/errors" | ||||
| 	"github.com/xtls/xray-core/common/crypto" | ||||
| 	"github.com/xtls/xray-core/common/drain" | ||||
| 	"github.com/xtls/xray-core/common/errors" | ||||
| 	"github.com/xtls/xray-core/common/net" | ||||
| 	"github.com/xtls/xray-core/common/protocol" | ||||
| ) | ||||
|   | ||||
| @@ -51,7 +51,6 @@ func (v *Validator) Get(hash string) *protocol.MemoryUser { | ||||
| 	return nil | ||||
| } | ||||
|  | ||||
|  | ||||
| // Get a trojan user with hashed key, nil if user doesn't exist. | ||||
| func (v *Validator) GetByEmail(email string) *protocol.MemoryUser { | ||||
| 	u, _ := v.email.Load(email) | ||||
|   | ||||
| @@ -29,8 +29,8 @@ import ( | ||||
|  | ||||
| 	"github.com/xtls/xray-core/common" | ||||
| 	"github.com/xtls/xray-core/common/buf" | ||||
| 	"github.com/xtls/xray-core/common/errors" | ||||
| 	"github.com/xtls/xray-core/common/dice" | ||||
| 	"github.com/xtls/xray-core/common/errors" | ||||
| 	"github.com/xtls/xray-core/common/log" | ||||
| 	"github.com/xtls/xray-core/common/net" | ||||
| 	"github.com/xtls/xray-core/common/protocol" | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| package tls | ||||
|  | ||||
| import ( | ||||
| 	"bytes" | ||||
| 	"context" | ||||
| 	"crypto/hmac" | ||||
| 	"crypto/tls" | ||||
| @@ -10,7 +11,6 @@ import ( | ||||
| 	"strings" | ||||
| 	"sync" | ||||
| 	"time" | ||||
| 	"bytes" | ||||
|  | ||||
| 	"github.com/xtls/xray-core/common/errors" | ||||
| 	"github.com/xtls/xray-core/common/net" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 zonescape
					zonescape