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
60d3ba3b
ROOT
/
experimental
/
trackerconn
/
conn.go
Search
History
110 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
New
(conn net.Conn, readCounter []*atomic.Int64, writeCounter []*atomic.Int64)
:
*Conn
NewHook
(conn net.Conn, readCounter func(n int64), writeCounter func(n int64))
:
*HookConn
Conn
N.ExtendedConn
readCounter
:
[]*atomic.Int64
writeCounter
:
[]*atomic.Int64
HookConn
N.ExtendedConn
readCounter
:
func(n int64)
writeCounter
:
func(n int64)
*Conn
Read
(p []byte)
:
(n int, err error)
ReadBuffer
(buffer *buf.Buffer)
:
error
Write
(p []byte)
:
(n int, err error)
WriteBuffer
(buffer *buf.Buffer)
:
error
Upstream
()
:
any
*HookConn
Read
(p []byte)
:
(n int, err error)
ReadBuffer
(buffer *buf.Buffer)
:
error
Write
(p []byte)
:
(n int, err error)
WriteBuffer
(buffer *buf.Buffer)
:
error
Upstream
()
:
any
All occurrences
Please wait...
Page is in error, reload to recover