crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
c69c188f
ROOT
/
common
/
dialer
/
detour.go
Search
History
62 lines
|
ISO-8859-1
|
1 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
DetourDialer
router
:
adapter.Router
detour
:
string
dialer
:
N.Dialer
initOnce
:
sync.Once
initErr
:
error
NewDetour
(router adapter.Router, detour string)
:
N.Dialer
*DetourDialer
Start
()
:
error
Dialer
()
:
(N.Dialer, error)
DialContext
(ctx context.Context, network string, destination M.Socksaddr)
:
(net.Conn, error)
ListenPacket
(ctx context.Context, destination M.Socksaddr)
:
(net.PacketConn, error)
Upstream
()
:
any
All occurrences
Please wait...
Page is in error, reload to recover