Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/felixge/httpsnoop
/ Write
Method
Write
wrap_generated.go:1329–1331 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
1327
(*rwState)(w).doWriteHeader(code)
1328
}
1329
func
(w *rw0) Write(b []byte) (int, error) {
1330
return
(*rwState)(w).doWrite(b)
1331
}
1332
1333
// combination 2/512: http.ResponseWriter, io.StringWriter
1334
type
rw1 rwState
Callers
5
Wrap
Function · 0.45
doWrite
Method · 0.45
TestCaptureMetrics
Function · 0.45
BenchmarkWrappedWriteWithHook
Function · 0.45
BenchmarkWrappedWriteNoHook
Function · 0.45
Calls
1
doWrite
Method · 0.80
Tested by
3
TestCaptureMetrics
Function · 0.36
BenchmarkWrappedWriteWithHook
Function · 0.36
BenchmarkWrappedWriteNoHook
Function · 0.36