Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SenseUnit/dumbproxy
/ wrapSOCKS
Function
wrapSOCKS
handler/adapter.go:143–148 ·
view source on GitHub ↗
(r io.Reader, w io.Writer)
Source
from the content-addressed store, hash-verified
141
}
142
143
func
wrapSOCKS(r io.Reader, w io.Writer) wrappedSOCKS {
144
return
wrappedSOCKS{
145
r: r,
146
w: w,
147
}
148
}
149
150
func
(w wrappedSOCKS) Read(p []byte) (n int, err error) {
151
return
w.r.Read(p)
Callers
1
SOCKSHandler
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected