mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-15 01:18:45 +00:00
GitHub Action CI: Add Go source file format check (#6090)
https://github.com/XTLS/Xray-core/pull/6057#issuecomment-4364819830 And https://github.com/XTLS/Xray-core/pull/6149#issuecomment-4546876261
This commit is contained in:
committed by
GitHub
parent
ca4b156b57
commit
d43a808ea5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user