MCPcopy 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
143func wrapSOCKS(r io.Reader, w io.Writer) wrappedSOCKS {
144 return wrappedSOCKS{
145 r: r,
146 w: w,
147 }
148}
149
150func (w wrappedSOCKS) Read(p []byte) (n int, err error) {
151 return w.r.Read(p)

Callers 1

SOCKSHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected