Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cloudflare/cloudflared
/ newTCPRespWriter
Function
newTCPRespWriter
proxy/proxy_test.go:892–896 ·
view source on GitHub ↗
(w io.Writer)
Source
from the content-addressed store, hash-verified
890
}
891
892
func
newTCPRespWriter(w io.Writer) *mockTCPRespWriter {
893
return
&mockTCPRespWriter{
894
w: w,
895
}
896
}
897
898
func
(m *mockTCPRespWriter) Read(p []byte) (n int, err error) {
899
return
len(p), nil
Callers
1
TestConnections
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected