𐲓𐳛π³ͺ𐳂𐳐 𐲀𐳒𐳦𐳫𐳒 π²₯𐳔𐳛π³ͺπ³Œπ³‘π³–π³‡
2026-05-29 23:04:59 +08:00
committed by GitHub
parent ca4b156b57
commit d43a808ea5
114 changed files with 736 additions and 378 deletions
+5 -3
View File
@@ -12,9 +12,11 @@ import (
"github.com/xtls/xray-core/features/outbound"
)
var Controllers []func(network, address string, c syscall.RawConn) error
var ControllersLock sync.Mutex
var effectiveSystemDialer SystemDialer = &DefaultSystemDialer{}
var (
Controllers []func(network, address string, c syscall.RawConn) error
ControllersLock sync.Mutex
effectiveSystemDialer SystemDialer = &DefaultSystemDialer{}
)
type SystemDialer interface {
Dial(ctx context.Context, source net.Address, destination net.Destination, sockopt *SocketConfig) (net.Conn, error)